Med Memory Users' Guide 5.1.3
|
Functions | |
void | MEDMEM::MESHING::setNumberOfNodes (const int NumberOfNodes) |
void | MEDMEM::MESHING::setCoordinates (const int SpaceDimension, const int NumberOfNodes, const double *Coordinates, const string System, const MED_EN::medModeSwitch Mode) |
void MEDMEM::MESHING::setNumberOfNodes | ( | const int | NumberOfNodes | ) | [inherited] |
Sets the number of nodes used in the mesh.
References MEDMEM::MESH::_connectivity, and MEDMEM::MESH::_numberOfNodes.
Referenced by MEDMEM::MESHING::setCoordinates().
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::MESHING::setNumberOfNodes(), and MEDMEM::MESHING::setSpaceDimension().
Referenced by MEDMEM::SUPPORT::makeMesh().