List of volume cells interface.
More...
#include <MeshVizXLM/mesh/topology/MbTopologyIj.h>
Public Member Functions | |
MbTopologyIj (size_t numCellI, size_t numCellJ) | |
virtual size_t | getNumCellsI () const |
virtual size_t | getNumCellsJ () const |
virtual bool | hasDeadCells () const |
virtual bool | isDead (size_t i, size_t j) const |
void | setDeadFlag (size_t i, size_t j, bool isDead=true) |
An implementation for a IJ implicit mesh topology.
MbTopologyIj::MbTopologyIj | ( | size_t | numCellI, | |
size_t | numCellJ | |||
) | [inline] |
Constructor.
virtual size_t MbTopologyIj::getNumCellsI | ( | ) | const [inline, virtual] |
Returns the number of cells on the first logical axis.
Implements MiTopologyIj.
virtual size_t MbTopologyIj::getNumCellsJ | ( | ) | const [inline, virtual] |
Returns the number of cells on the second logical axis.
Implements MiTopologyIj.
virtual bool MbTopologyIj::hasDeadCells | ( | ) | const [inline, virtual] |
Returns true if the mesh contains some dead cells.
Reimplemented from MbTopology.
bool MbTopologyIj::isDead | ( | size_t | i, | |
size_t | j | |||
) | const [inline, virtual] |
Returns true if the cell of index (i,j) should be ignored.
This value is ignored if the hasDeadCell() method returns false. The default implementation returns always false.
(i,j) | the index of the cell to check |
Reimplemented from MiTopologyIj.
void MbTopologyIj::setDeadFlag | ( | size_t | i, | |
size_t | j, | |||
bool | isDead = true | |||
) | [inline] |
Set the dead flag of cell (i,j).