Class defining the volume topology of the mesh. More...
#include <MeshVizXLM/mesh/templates/MyVolumeMeshUnstructured.h>
Public Member Functions | |
size_t | getNumCells () const |
bool | hasDeadCells () const |
bool | isDead (size_t i) const |
const MiVolumeCell * | getCell (size_t id) const |
size_t | getEndNodeId () const |
size_t | getBeginNodeId () const |
size_t | getTimeStamp () const |
Class defining the volume topology of the mesh.
size_t MyVolumeTopologyExplicitI::getBeginNodeId | ( | ) | const [inline, virtual] |
Returns the first node id used by this topology.
This topology uses only node index in the interval [beginNodeId,EndNodeId[. Thus the maximum node index used by the topology is getEndNodeId() - 1 and the number of nodes used by this topology is getEndNodeId() - getBeginNodeId().
Reimplemented from MiTopologyExplicitI.
const MiVolumeCell* MyVolumeTopologyExplicitI::getCell | ( | size_t | id | ) | const [inline, virtual] |
Returns a cell of this topology.
The cell is identified by one id.
Implements MiVolumeTopologyExplicitI.
size_t MyVolumeTopologyExplicitI::getEndNodeId | ( | ) | const [inline, virtual] |
Returns the last node id + 1 used by this topology.
This topology uses only node index in the interval [beginNodeId,EndNodeId[. Thus the maximum node index used by the topology is getEndNodeId() - 1 and the number of nodes used by this topology is getEndNodeId() - getBeginNodeId().
Implements MiTopologyExplicitI.
size_t MyVolumeTopologyExplicitI::getNumCells | ( | ) | const [inline, virtual] |
Returns the number of cells.
Implements MiTopologyI.
size_t MyVolumeTopologyExplicitI::getTimeStamp | ( | ) | const [inline, virtual] |
Returns a time stamp on this topology.
Implements MiTopology.
bool MyVolumeTopologyExplicitI::hasDeadCells | ( | ) | const [inline, virtual] |
Returns true if the topology contains dead cells.
When false, the cells traversal can be optimized by not testing the isDead() method of each individual cells.
Reimplemented from MiTopology.
bool MyVolumeTopologyExplicitI::isDead | ( | size_t | i | ) | const [inline, virtual] |
Returns true if the cell of index i should be ignored.
This value is ignored if the hasDeadCell() method returns false.
i | the index of the cell to check |
Reimplemented from MiTopologyI.