Functions | |
int | MEDMEM::SUPPORT::getNumberOfElements (MED_EN::medGeometryElement GeometricType) const throw (MEDEXCEPTION) |
const int * | MEDMEM::SUPPORT::getNumberOfElements () const throw (MEDEXCEPTION) |
virtual const int * | MEDMEM::SUPPORT::getNumberIndex () const throw (MEDEXCEPTION) |
int SUPPORT::getNumberOfElements | ( | MED_EN::medGeometryElement | GeometricType | ) | const throw (MEDEXCEPTION) |
This method returns the number of all elements of the type GeometricType.
If isOnAllElements is false, it returns the number of elements in the support otherwise it returns number of elements in the mesh.
Example : number of MED_TRIA3 or MED_ALL_ELEMENTS elements in support.
Note : If SUPPORT is defined on MED_NODE, use MED_ALL_ELEMENTS as medGeometryElement GeometricType and it will return the number of nodes in the support (or in the mesh).
Referenced by MEDMEM::FIELD_::FIELD_(), MEDMEM::SUPPORT::getComplement(), and ParaMEDMEM::medmemSupportToFVMMesh().
const int * SUPPORT::getNumberOfElements | ( | ) | const throw (MEDEXCEPTION) |
Returns the total number of elements in the support.
References MEDMEM::SUPPORT::_numberOfElements.
Referenced by MEDMEM::SUPPORT::makeMesh().
|
virtual |
Returns index of element number.
Note : See getConnectivityIndex for details.
References MEDMEM::SUPPORT::_number.
Referenced by ParaMEDMEM::medmemSupportToFVMMesh().