Med Memory Users' Guide 5.1.3
|
Functions | |
virtual bool | MEDMEM::MESH::deepCompare (const MESH &other) const |
string | MEDMEM::MESH::getName () const |
void | MEDMEM::MESH::setMeshDimension (int dim) |
void | MEDMEM::MESH::setDescription (string description) |
string | MEDMEM::MESH::getDescription () const |
int | MEDMEM::MESH::getSpaceDimension () const |
int | MEDMEM::MESH::getMeshDimension () const |
These methods are related to the retrieval of general information about the mesh.
bool MESH::deepCompare | ( | const MESH & | other | ) | const [virtual, inherited] |
Returns true if mesh other has same coordinates (to 1E-15 precision ) and same connectivity as the calling object. Information like name or description is not taken into account for the comparison.
References MEDMEM::MESH::_connectivity, MEDMEM::MESH::_coordinate, MEDMEM::MESH::getConnectivityptr(), MEDMEM::MESH::getCoordinateptr(), MEDMEM::MESH::getCoordinates(), MEDMEM::MESH::getNumberOfNodes(), and MEDMEM::MESH::getSpaceDimension().
string MEDMEM::MESH::getName | ( | ) | const [inherited] |
Gets the MESH name.
Referenced by MEDMEM::MED::addField(), MEDMEM::MESH::createGroups(), MEDMEM::SUPPORT::getMeshName(), MEDMEM::MESH::intersectSupports(), ParaMEDMEM::medmemMeshToFVMMesh(), and MEDMEM::MESH::mergeSupports().
void MEDMEM::MESH::setMeshDimension | ( | int | dim | ) | [inherited] |
Reimplemented in MEDMEM::MESHING.
void MEDMEM::MESH::setDescription | ( | string | description | ) | [inherited] |
Set the MESH description
string MEDMEM::MESH::getDescription | ( | ) | const [inherited] |
Gets the MESH description. The string returned contains a short description of the mesh, which is stored for information purposes only.
Referenced by MEDMEM::MESH::intersectSupports(), and MEDMEM::MESH::mergeSupports().
int MEDMEM::MESH::getSpaceDimension | ( | ) | const [inherited] |
Gets the dimension of the space in which the mesh is described (2 for planar meshes, 3 for volumes and 3D surfaces) .
Referenced by MEDMEM::MESH::deepCompare(), MEDMEM::FIELD< T, INTERLACING_TAG >::fillFromAnalytic(), MEDMEM::MESH::getArea(), MEDMEM::MESH::getBarycenter(), MEDMEM::SUPPORT::getBoundaryElements(), MEDMEM::MESH::getLength(), MEDMEM::MESH::getNormal(), MEDMEM::MESH::getVolume(), MEDMEM::SUPPORT::makeMesh(), ParaMEDMEM::medmemMeshToFVMMesh(), MEDMEM::MESH::printMySelf(), and ParaMEDMEM::NonCoincidentDEC::synchronize().
int MEDMEM::MESH::getMeshDimension | ( | ) | const [inherited] |
Gets the dimension of the mesh (2 for 2D- and 3D-surfaces, 3 for volumes).
Referenced by MEDMEM::MESH::convertToPoly(), MEDMEM::MESH::getNormal(), MEDMEM::SUPPORT::makeMesh(), ParaMEDMEM::medmemMeshToFVMMesh(), and MEDMEM::MESH::printMySelf().