Functions | |
| void | MEDMEM::MESHING.setCoordinates (const int SpaceDimension, const int NumberOfNodes, const double *Coordinates, const string System, const MED_EN::medModeSwitch Mode) |
| void MEDMEM.MESHING::setCoordinates | ( | const int | SpaceDimension, |
| const int | NumberOfNodes, | ||
| const double * | Coordinates, | ||
| const string | System, | ||
| const MED_EN::medModeSwitch | Mode | ||
| ) | [inherited] |
Sets the whole coordinates array in a given system and interlacing mode. The system coordinates are :
Example :
MESHING myMeshing ; const int SpaceDimension=2; const int NumberOfNodes=6; int * Coordinates = new int[SpaceDimension*NumberOfNodes] ; string System="CARTESIAN"; medModeSwitch Mode = MED_FULL_INTERLACE ; myMeshing.setCoordinates(SpaceDimension,NumberOfNodes,Coordinates,System,Mode);
References MEDMEM.MESH._connectivity, MEDMEM.MESH._coordinate, MEDMEM.MESH._numberOfNodes, MEDMEM.GMESH._spaceDimension, SCRUTE_MED, and MEDMEM.CONNECTIVITY.setNumberOfNodes().