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