Med Memory Users' Guide 5.1.3

MESH General information

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

Detailed Description

These methods are related to the retrieval of general information about the mesh.


Function Documentation

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().

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::getMeshDimension ( ) const [inherited]

Gets the dimension of the mesh (2 for 2D- and 3D-surfaces, 3 for volumes).

Examples:
MESHgeneral.cxx.

Referenced by MEDMEM::MESH::convertToPoly(), MEDMEM::MESH::getNormal(), MEDMEM::SUPPORT::makeMesh(), ParaMEDMEM::medmemMeshToFVMMesh(), and MEDMEM::MESH::printMySelf().