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

Referenced by MEDMEM::SUPPORT::belongsTo(), and MEDMEM::SUPPORT::deepCompare().

string MEDMEM::MESH::getName (  )  const [inherited]
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]
int MEDMEM::MESH::getMeshDimension (  )  const [inherited]

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

Examples:
MESHgeneral.cxx.

References MEDMEM::MESH::_meshDimension.

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

Generated on Tue Jul 27 21:55:03 2010 for Med Memory Users' Guide by  doxygen 1.6.3