#include "MEDMEM_Meshing.hxx"#include "MEDMEM_Group.hxx"
Functions | |
| static void | addMedFacesGroup (MESHING &meshing, int nFaces, const int *groupValue, string groupName, const MED_EN::medGeometryElement *mytypes, const int *index, const int *myNumberOfElements, int nbOfGeomTypes) |
| int | main () |
Variables | |
| double | coords [108] |
| int | connNodalCellClassical [48] |
| int | polyHedraInd [7] = {1, 30, 59, 88, 117, 146, 175} |
| int | polyHedraConn [174] |
| int | connNodalFaceClassical [116] |
| int | cpolygonsIndex [24] |
| int | cpolygonsValue [92] |
| int | bottom [4] = {1,7,30,35} |
| MED_EN::medGeometryElement | bottomTypes [2] = {MED_EN::MED_QUAD4, MED_EN::MED_POLYGON } |
| int | bottomIndex [3] = {1,3,5} |
| int | bottomNbOfElts [2] = {2,2} |
| int | top [4] = {21,26,46,50} |
| MED_EN::medGeometryElement | topTypes [2] = {MED_EN::MED_QUAD4, MED_EN::MED_POLYGON } |
| int | topIndex [3] = {1,3,5} |
| int | topNbOfElts [2] = {2,2} |
| int | side [24] = { 3, 6, 10, 11, 13, 16, 19, 20, 22, 25, 28, 29, 32, 33, 37, 38, 40, 41, 44, 45, 47, 48, 51, 52} |
| MED_EN::medGeometryElement | sideTypes [2] = {MED_EN::MED_QUAD4, MED_EN::MED_POLYGON } |
| int | sideIndex [3] = {1,13,25} |
| int | sideNbOfElts [2] = {12,12} |
| static void addMedFacesGroup | ( | MESHING & | meshing, |
| int | nFaces, | ||
| const int * | groupValue, | ||
| string | groupName, | ||
| const MED_EN::medGeometryElement * | mytypes, | ||
| const int * | index, | ||
| const int * | myNumberOfElements, | ||
| int | nbOfGeomTypes | ||
| ) | [static] |
References MEDMEM.MESHING.addGroup(), MED_EN.MED_FACE, MEDMEM.RCBASE.removeReference(), MEDMEM.SUPPORT.setEntity(), MEDMEM.SUPPORT.setGeometricType(), MEDMEM.SUPPORT.setMesh(), MEDMEM.SUPPORT.setName(), MEDMEM.SUPPORT.setNumber(), MEDMEM.SUPPORT.setNumberOfElements(), and MEDMEM.SUPPORT.setNumberOfGeometricType().
| int main | ( | void | ) |
References MEDMEM.GMESH.addDriver(), addMedFacesGroup(), bottomTypes, MED_EN.MED_CELL, MEDMEM.MED_DRIVER, MED_EN.MED_FACE, MED_EN.MED_HEXA8, MED_EN.MED_NO_INTERLACE, MED_EN.MED_POLYGON, MED_EN.MED_POLYHEDRA, MED_EN.MED_QUAD4, MEDMEM.RCBASE.removeReference(), MEDMEM.MESHING.setConnectivity(), MEDMEM.MESHING.setCoordinates(), MEDMEM.MESHING.setCoordinatesNames(), MEDMEM.MESHING.setCoordinatesUnits(), MEDMEM.GMESH.setName(), MEDMEM.MESHING.setNumberOfElements(), MEDMEM.MESHING.setNumberOfTypes(), MEDMEM.MESHING.setTypes(), sideTypes, topTypes, and MEDMEM.GMESH.write().
{ 1, 2, 3, 4, 10, 11, 12, 13,
4, 3, 7, 8, 13, 12, 16, 17,
10, 11, 12, 13, 19, 20, 21, 22,
13, 12, 16, 17, 22, 21, 25, 26,
19, 20, 21, 22, 28, 29, 30, 31,
22, 21, 25, 26, 31, 30, 34, 35 }
| int polyHedraInd[7] = {1, 30, 59, 88, 117, 146, 175} |
| int polyHedraConn[174] |
{
2, 3, 6, 5, -1, 11, 14, 15, 12, -1, 2, 5, 14, 11, -1, 5, 6, 15, 14, -1, 6, 3, 12, 15, -1, 3, 2, 11, 12,
3, 7, 9, 6, -1, 12, 15, 18, 16, -1, 3, 6, 15, 12, -1, 6, 9, 18, 15, -1, 9, 7, 16, 18, -1, 7, 3, 12, 16,
11, 12, 15, 14, -1, 20, 23, 24, 21, -1, 11, 14, 23, 20, -1, 14, 15, 24, 23, -1, 15, 12, 21, 24, -1, 12, 11, 20, 21,
12, 16, 18, 15, -1, 21, 24, 27, 25, -1, 12, 15, 24, 21, -1, 15, 18, 27, 24, -1, 18, 16, 25, 27, -1, 16, 12, 21, 25,
20, 21, 24, 23, -1, 29, 32, 33, 30, -1, 20, 23, 32, 29, -1, 23, 24, 33, 32, -1, 24, 21, 30, 33, -1, 21, 20, 29, 30,
21, 25, 27, 24, -1, 30, 33, 36, 34, -1, 21, 24, 33, 30, -1, 24, 27, 36, 33, -1, 27, 25, 34, 36, -1, 25, 21, 30, 34 }
| int cpolygonsIndex[24] |
{ 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 49, 53, 57, 61, 65, 69,
73, 77, 81, 85, 89, 93}
| int cpolygonsValue[92] |
{2, 5, 6, 3,
11, 12, 15, 14,
2, 5, 14, 11,
5, 6, 15, 14,
6, 3, 12, 15,
3, 6, 9, 7,
12, 16, 18, 15,
6, 9, 18, 15,
9, 7, 16, 18,
20, 21, 24, 23,
11, 14, 23, 20,
14, 15, 24, 23,
15, 12, 21, 24,
21, 25, 27, 24,
15, 18, 27, 24,
18, 16, 25, 27,
29, 30, 33, 32,
20, 23, 32, 29,
23, 24, 33, 32,
24, 21, 30, 33,
30, 34, 36, 33,
24, 27, 36, 33,
27, 25, 34, 36}
| int bottomIndex[3] = {1,3,5} |
| int bottomNbOfElts[2] = {2,2} |
| int topNbOfElts[2] = {2,2} |
| int side[24] = { 3, 6, 10, 11, 13, 16, 19, 20, 22, 25, 28, 29, 32, 33, 37, 38, 40, 41, 44, 45, 47, 48, 51, 52} |
| int sideNbOfElts[2] = {12,12} |