Functions | |
| void | MEDMEM::MESHING::setPolygonsConnectivity (const int *ConnectivityIndex, const int *ConnectivityValue, int nbOfPolygons, const MED_EN::medEntityMesh Entity) throw (MEDEXCEPTION) |
| void | MEDMEM::MESHING::setPolyhedraConnectivity (const int *PolyhedronIndex, const int *FacesIndex, const int *Nodes, int nbOfPolyhedra, const MED_EN::medEntityMesh Entity=MED_EN::MED_CELL) throw (MEDEXCEPTION) |
These methods belong to the meshing class and are necessary for creating the connectivities of MED_POLYHEDRON and MED_POLYGON elements.
| void MEDMEM::MESHING::setPolygonsConnectivity | ( | const int * | ConnectivityIndex, | |
| const int * | Connectivity, | |||
| int | nbOfPolygons, | |||
| const MED_EN::medEntityMesh | Entity | |||
| ) | throw (MEDEXCEPTION) [inherited] |
Method setting the connectivity for MED_POLYGON elements
| ConnectivityIndex | polygon connectivity index | |
| Connectivity | polygon connectivity | |
| nbOfPolygons | number of polygons defined | |
| Entity | entity of the polygon |
The Entity parameter specifies whether the polygon is the highest order element (MED_CELL) or it is a 2D element in a 3D mesh (MED_FACE).
This method is fully compatible with the MESHING::setConnectivity method. The following code excerpt creates two polygons with 5 and 4 nodes respectively.
MESHING myMeshing ;
myMeshing.setCoordinates(SpaceDimension,NumberOfNodes,Coordinates,System,Mode);
int conn_index[3]={1,6,10};
int conn[9]={1,2,3,4,5,5,4,6,7};
int nb_poly=2;
meshing.setPolygonsConnectivity(conn_index, conn, nb_poly, MED_CELL)
Referenced by MEDMEM::SUPPORT::makeMesh().
| void MEDMEM::MESHING::setPolyhedraConnectivity | ( | const int * | PolyhedronIndex, | |
| const int * | FacesIndex, | |||
| const int * | Nodes, | |||
| int | nbOfPolyhedra, | |||
| const MED_EN::medEntityMesh | Entity = MED_EN::MED_CELL | |||
| ) | throw (MEDEXCEPTION) [inherited] |
Method setting the connectivity for MED_POLYHEDRON elements
| PolyhedronIndex | polyhedra connectivity index | |
| FacesIndex | polyhedra face connectivity index | |
| Nodes | polyhedra connectivity | |
| nbOfPolyhedra | number of polyhedra defined | |
| Entity | deprecated parameter |
Referenced by MEDMEM::SUPPORT::makeMesh().
1.6.3