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().
Referenced by MEDMEM::SUPPORT::belongsTo(), and MEDMEM::SUPPORT::deepCompare().
string MEDMEM::MESH::getName | ( | ) | const [inherited] |
Gets the MESH name.
References MEDMEM::MESH::_name.
Referenced by MEDMEM::MED::addField(), MEDMEM::MESH::createGroups(), and MEDMEM::SUPPORT::getMeshName().
void MEDMEM::MESH::setMeshDimension | ( | int | dim | ) | [inherited] |
Reimplemented in MEDMEM::MESHING.
References MEDMEM::MESH::_meshDimension.
void MEDMEM::MESH::setDescription | ( | string | description | ) | [inherited] |
Set the MESH description
References MEDMEM::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.
References MEDMEM::MESH::_description.
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) .
References MEDMEM::MESH::_spaceDimension.
Referenced by MEDMEM::FIELD< T, INTERLACING_TAG >::buildGradient(), MEDMEM::MESH::deepCompare(), MEDMEM::FIELD< T, INTERLACING_TAG >::fillFromAnalytic(), MEDMEM::SUPPORT::getBoundaryElements(), MEDMEM::MESH::getReverseConnectivityIndexLength(), MEDMEM::MESH::getReverseConnectivityLength(), MEDMEM::SUPPORT::makeMesh(), and MEDMEM::MESH::printMySelf().
int MEDMEM::MESH::getMeshDimension | ( | ) | const [inherited] |
Gets the dimension of the mesh (2 for 2D- and 3D-surfaces, 3 for volumes).
References MEDMEM::MESH::_meshDimension.
Referenced by MEDMEM::MESH::convertToPoly(), MEDMEM::SUPPORT::makeMesh(), and MEDMEM::MESH::printMySelf().