CATFmtModelInterfaces CATFmtExtIConnectivity

Usage: you can derive this class.


public class CATFmtExtIConnectivity

Adapter for CATIFmtConnectivity interface.
Role: This class provides a default implementation for any extension of . That means one should derive from this class to implement the connectivity definition of a new finite element.
One should re-implement only the and methods.


Constructor and Destructor Index


o CATFmtExtIConnectivity()
Constructor.
o ~CATFmtExtIConnectivity()
Destructor.

Method Index


o Build()
Builds internal informations.
o CreateGeometricalEngine()
Creates an returns an new geometrical engine compatible with the connectivity.
o GetEdgeConnectivity(int)
Returns the connectivity corresponding to a face.
o GetEdgesOfFaces(int*&,int*&,int*&)
Retrieves the faces definition in term of edges.
o GetEdgesOfNodes(int*&,int*&)
Retrieves the edges connected to edges.
o GetEdgesPermutation()
Returns the edges permutation that should be applied in order to reverse the element.
o GetFaceConnectivity(int)
Returns the connectivity corresponding to a face.
o GetFacesOfEdges(int*&,int*&)
Retrieves the faces connected to edges.
o GetFacesOfNodes(int*&,int*&)
Retrieves the faces connected to edges.
o GetFacesPermutation()
Returns the faces permutation that should be applied in order to reverse the element.
o GetGeometricalEngine()
Returns the geometrical engine associated with the connectivity.
o GetInfos()
Returns general informations on the finite element connectivity (dimension and sizes).
o GetInteriorAngleOfEdges(double*&)
Returns the ideal interior angle for each edge.
o GetMainConnectivity()
Returns the connectivity with the same shape and main nodes
o GetName()
Returns the name of the connectivity.
o GetNodesOfEdges(int*&,int*&)
Retrieves the edges definition in terms of nodes.
o GetNodesOfFaces(int*&,int*&)
Retrieves the faces definition in term of nodes.
o GetNodesPermutation()
Returns the nodes permutation that should be applied in order to reverse the element.
o GetNumber()
Returns the finite element connectivity number.
o GetSIMEdgesMapping()
Returns the edges mapping that should be applied in order to persist the element in SIM.
o GetSIMFacesMapping()
Returns the faces mapping that should be applied in order to persist the element in SIM.
o GetSIMName()
Returns the SIM name of the connectivity.
o GetSIMNodesMapping()
Returns the nodes mapping that should be applied in order to persist the element in SIM.
o GetTypeOfNodes(int*&)
Returns the type of each nodes.
o Next()
Returns the next finite element connectivity.

Data Member Index


o _EdgeConnectivity
Array containing in sequence the connectivity of the edges.
o _EdgesOfFaces
Array containing in sequence the edges number of the faces.
o _EdgesOfNodes
Array containing in sequence the edges number connected to nodes.
o _EdgesPermutation
Array containing the edges permutation that should be applied in order to reverse the element.
o _FaceConnectivity
Array containing in sequence the connectivity of the faces.
o _FacesOfEdges
Array containing in sequence the faces number connected to edges.
o _FacesOfNodes
Array containing in sequence the faces number connected to nodes.
o _FacesPermutation
Array containing the faces permutation that should be applied in order to reverse the element.
o _Infos
General informations on the finite element connectivity.
o _IntAngleOfEdges
Array of backward pointer to _IntAngleOfEdges array.
o _MainConnectivity
Main connectivity of the finite element connectivity.
o _NodesOfEdges
Array containing in sequence the nodes number of edges.
o _NodesOfFaces
Array containing in sequence the nodes number of the faces.
o _NodesPermutation
Array containing the nodes permutation that should be applied in order to reverse the element.
o _OrientOfEdges
Array containing the edges orientation of the faces.
o _PtEdgesOfFaces
Array of backward pointer to _EdgesOfFaces array.
o _PtEdgesOfNodes
Array of backward pointer to _EdgesOfNodes array.
o _PtFacesOfEdges
Array of backward pointer to _FacesOfEdges array.
o _PtFacesOfNodes
Array of backward pointer to _FacesOfNodes array.
o _PtNodesOfEdges
Array of backward pointer to _NodesOfEdges array.
o _PtNodesOfFaces
Array of backward pointer to _NodesOfFaces array.
o _SIMEdgesMapping
Array containing the edges mapping that should be applied in order to persist the element in SIM.
o _SIMFacesMapping
Array containing the faces mapping that should be applied in order to persist the element in SIM.
o _SIMName
SIM name of the finite element connectivity.
o _SIMNodesMapping
Array containing the nodes mapping that should be applied in order to persist the element in SIM.
o _TypeOfNodes
Array of backward pointer to _TypeOfNodes array.

Constructor and Destructor


o CATFmtExtIConnectivity
public CATFmtExtIConnectivity()
Constructor.
o ~CATFmtExtIConnectivity
public virtual ~CATFmtExtIConnectivity()
Destructor.

Methods


o Build
public virtual Build()
Builds internal informations.
This method should initialize all data members.
o CreateGeometricalEngine
public virtual CreateGeometricalEngine()
Creates an returns an new geometrical engine compatible with the connectivity.
o GetEdgeConnectivity
public GetEdgeConnectivity( iNumEdge)
Returns the connectivity corresponding to a face.
Parameters:
iNumEdge
Edge number.
Returns:
The connectivity of the edge.
o GetEdgesOfFaces
public GetEdgesOfFaces( const oPtEdgesOfFaces,
const oEdgesOfFaces,
const oOrientOfEdges)
Retrieves the faces definition in term of edges.
The edges of faces should be ordered in sequence in order to define the positive orientation for faces. For a 3D connectivity all the faces should be outward oriented.
Parameters:
oPtEdgesOfFaces
Array containing for each face a backward pointer in oEdgesOfFaces and oOrientOfEdges arrays.
oEdgesOfFaces
Array containing the edges number of the faces.
oOrientOfEdges
Array containing the edges orientation of the faces.
Legal values:
0
The edge is used with its default orientation.
1
The edge is used with its reverse orientation.
Returns:
The number of faces in the connectivity.
o GetEdgesOfNodes
public GetEdgesOfNodes( const oPtEdgesOfNodes,
const oEdgesOfNodes)
Retrieves the edges connected to edges.
Parameters:
oPtEdgesOfNodes
Array containing for each node a backward pointer in oEdgesOfNodes array.
oEdgesOfNodes
Array containing the edges number connected to nodes.
Returns:
The number of nodes in the connectivity.
o GetEdgesPermutation
public GetEdgesPermutation()
Returns the edges permutation that should be applied in order to reverse the element.
o GetFaceConnectivity
public GetFaceConnectivity( iNumFace)
Returns the connectivity corresponding to a face.
Parameters:
iNumEdge
Edge number.
Returns:
The connectivity of the edge.
o GetFacesOfEdges
public GetFacesOfEdges( const oPtFacesOfEdges,
const oFacesOfEdges)
Retrieves the faces connected to edges.
Parameters:
oPtFacesOfEdges
Array containing for each edge a backward pointer in FacesOfEdges array.
FacesOfEdges
Array containing the faces number connected to edges.
Returns:
The number of edges in the connectivity.
o GetFacesOfNodes
public GetFacesOfNodes( const oPtFacesOfNodes,
const oFacesOfNodes)
Retrieves the faces connected to edges.
Parameters:
oPtFacesOfNodes
Array containing for each node a backward pointer in oFacesOfNodes array.
oFacesOfNodes
Array containing the faces number connected to nodes.
Returns:
The number of nodes in the connectivity.
o GetFacesPermutation
public GetFacesPermutation()
Returns the faces permutation that should be applied in order to reverse the element.
o GetGeometricalEngine
public virtual GetGeometricalEngine()
Returns the geometrical engine associated with the connectivity.
o GetInfos
public GetInfos()
Returns general informations on the finite element connectivity (dimension and sizes).
o GetInteriorAngleOfEdges
public GetInteriorAngleOfEdges( const oIntAngleOfEdges)
Returns the ideal interior angle for each edge.
o GetMainConnectivity
public GetMainConnectivity()
Returns the connectivity with the same shape and main nodes
o GetName
public GetName()
Returns the name of the connectivity.
o GetNodesOfEdges
public GetNodesOfEdges( const oPtNodesOfEdges,
const oNodesOfEdges)
Retrieves the edges definition in terms of nodes.
The nodes of edges should be ordered in sequence in order to define the positive orientation for edges.
Parameters:
oPtNodesOfEdges
Array containing for each edge a backward pointer in oNodesOfEdges array.
oNodesOfEdges
Array containing the nodes number of edges.
Returns:
The number of edges in the connectivity.
o GetNodesOfFaces
public GetNodesOfFaces( const oPtNodesOfFaces,
const oNodesOfFaces)
Retrieves the faces definition in term of nodes.
Nodes of a face should be ordered in a compatible way with the face connectivity (see method).
Parameters:
oPtNodesOfFaces
Array containing for each face a backward pointer in the oNodesOfFaces array.
oNodesOfFaces
Array containing the nodes number of the faces.
Returns:
The number of faces in the connectivity.
o GetNodesPermutation
public GetNodesPermutation()
Returns the nodes permutation that should be applied in order to reverse the element.
o GetNumber
public GetNumber()
Returns the finite element connectivity number. Connectivities are numbered between 0 and the total number of elements minus one.
o GetSIMEdgesMapping
public virtual GetSIMEdgesMapping()
Returns the edges mapping that should be applied in order to persist the element in SIM.
o GetSIMFacesMapping
public virtual GetSIMFacesMapping()
Returns the faces mapping that should be applied in order to persist the element in SIM.
o GetSIMName
public GetSIMName()
Returns the SIM name of the connectivity.
o GetSIMNodesMapping
public virtual GetSIMNodesMapping()
Returns the nodes mapping that should be applied in order to persist the element in SIM.
o GetTypeOfNodes
public GetTypeOfNodes( const oTypeOfNodes)
Returns the type of each nodes.
o Next
public Next()
Returns the next finite element connectivity.

Data Members


o _EdgeConnectivity
  protected CATIFmtConnectivity ** _EdgeConnectivity
Array containing in sequence the connectivity of the edges.
o _EdgesOfFaces
  protected const int * _EdgesOfFaces
Array containing in sequence the edges number of the faces. The edges of a face should be ordered in order to define the positive orientation. For a 3D connectivity all the faces should be outward oriented.
o _EdgesOfNodes
  protected const int * _EdgesOfNodes
Array containing in sequence the edges number connected to nodes.
o _EdgesPermutation
  protected const int * _EdgesPermutation
Array containing the edges permutation that should be applied in order to reverse the element.
o _FaceConnectivity
  protected CATIFmtConnectivity ** _FaceConnectivity
Array containing in sequence the connectivity of the faces.
o _FacesOfEdges
  protected const int * _FacesOfEdges
Array containing in sequence the faces number connected to edges.
o _FacesOfNodes
  protected const int * _FacesOfNodes
Array containing in sequence the faces number connected to nodes.
o _FacesPermutation
  protected const int * _FacesPermutation
Array containing the faces permutation that should be applied in order to reverse the element.
o _Infos
  protected CATFmtConnectivityInfos _Infos
General informations on the finite element connectivity.
o _IntAngleOfEdges
  protected const double * _IntAngleOfEdges
Array of backward pointer to _IntAngleOfEdges array.
o _MainConnectivity
  protected CATIFmtConnectivity * _MainConnectivity
Main connectivity of the finite element connectivity.
o _NodesOfEdges
  protected const int * _NodesOfEdges
Array containing in sequence the nodes number of edges. The nodes of an edge should be ordered in order to define the positive orientation.
o _NodesOfFaces
  protected const int * _NodesOfFaces
Array containing in sequence the nodes number of the faces. Nodes of a face should be ordered in a compatible way with the face connectivity (see method).
o _NodesPermutation
  protected const int * _NodesPermutation
Array containing the nodes permutation that should be applied in order to reverse the element.
o _OrientOfEdges
  protected const int * _OrientOfEdges
Array containing the edges orientation of the faces.
o _PtEdgesOfFaces
  protected const int * _PtEdgesOfFaces
Array of backward pointer to _EdgesOfFaces array.
o _PtEdgesOfNodes
  protected const int * _PtEdgesOfNodes
Array of backward pointer to _EdgesOfNodes array.
o _PtFacesOfEdges
  protected const int * _PtFacesOfEdges
Array of backward pointer to _FacesOfEdges array.
o _PtFacesOfNodes
  protected const int * _PtFacesOfNodes
Array of backward pointer to _FacesOfNodes array.
o _PtNodesOfEdges
  protected const int * _PtNodesOfEdges
Array of backward pointer to _NodesOfEdges array.
o _PtNodesOfFaces
  protected const int * _PtNodesOfFaces
Array of backward pointer to _NodesOfFaces array.
o _SIMEdgesMapping
  protected const int * _SIMEdgesMapping
Array containing the edges mapping that should be applied in order to persist the element in SIM.
o _SIMFacesMapping
  protected const int * _SIMFacesMapping
Array containing the faces mapping that should be applied in order to persist the element in SIM.
o _SIMName
  protected const char * _SIMName
SIM name of the finite element connectivity.
o _SIMNodesMapping
  protected const int * _SIMNodesMapping
Array containing the nodes mapping that should be applied in order to persist the element in SIM.
o _TypeOfNodes
  protected const int * _TypeOfNodes
Array of backward pointer to _TypeOfNodes array.

This object is included in the file: CATFmtExtIConnectivity.h
If needed, your Imakefile.mk should include the module: CATFmtModelInterfaces

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.