Med Memory Users' Guide 5.1.3
|
Functions | |
int | MEDMEM::SUPPORT::getNumberOfElements (MED_EN::medGeometryElement GeometricType) const throw (MEDEXCEPTION) |
const int * | MEDMEM::SUPPORT::getNumberOfElements () const throw (MEDEXCEPTION) |
virtual MEDSKYLINEARRAY * | MEDMEM::SUPPORT::getnumber () const throw (MEDEXCEPTION) |
virtual MEDSKYLINEARRAY * | MEDMEM::SUPPORT::getnumberFromFile () const throw (MEDEXCEPTION) |
virtual const int * | MEDMEM::SUPPORT::getNumber (MED_EN::medGeometryElement GeometricType) const throw (MEDEXCEPTION) |
virtual const int * | MEDMEM::SUPPORT::getNumberFromFile (MED_EN::medGeometryElement GeometricType) const throw (MEDEXCEPTION) |
virtual const int * | MEDMEM::SUPPORT::getNumberIndex () const throw (MEDEXCEPTION) |
int MEDMEM::SUPPORT::getNumberOfElements | ( | MED_EN::medGeometryElement | GeometricType | ) | const throw (MEDEXCEPTION) [inherited] |
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 * MEDMEM::SUPPORT::getNumberOfElements | ( | ) | const throw (MEDEXCEPTION) [inherited] |
Returns the total number of elements in the support.
Referenced by MEDMEM::SUPPORT::makeMesh().
MEDSKYLINEARRAY * MEDMEM::SUPPORT::getnumber | ( | ) | const throw (MEDEXCEPTION) [virtual, inherited] |
MEDSKYLINEARRAY * MEDMEM::SUPPORT::getnumberFromFile | ( | ) | const throw (MEDEXCEPTION) [virtual, inherited] |
const int * MEDMEM::SUPPORT::getNumber | ( | MED_EN::medGeometryElement | GeometricType | ) | const throw (MEDEXCEPTION) [virtual, inherited] |
If isOnAllElements is false, returns an array which contains all number of given medGeometryElement.
Numbering is global, ie numbers are bounded by 1 and MESH::getNumberOfElement(entity,MED_ALL_ELEMENTS) and not by 1 and MESH::getNumberOfElement(entity,geomElement).
Note : If SUPPORT is defined on MED_NODE, use MED_NONE medGeometryElement type.
Referenced by MEDMEM::SUPPORT::deepCompare(), MEDMEM::SUPPORT::makeMesh(), and ParaMEDMEM::medmemSupportToFVMMesh().
const int * MEDMEM::SUPPORT::getNumberFromFile | ( | MED_EN::medGeometryElement | GeometricType | ) | const throw (MEDEXCEPTION) [virtual, inherited] |
const int * MEDMEM::SUPPORT::getNumberIndex | ( | ) | const throw (MEDEXCEPTION) [virtual, inherited] |
If isOnAllElements is false, returns index of element number. Use it with getNumber(MED_ALL_ELEMENTS).
Note : See getConnectivityIndex for details.
Referenced by ParaMEDMEM::medmemSupportToFVMMesh().