MbTopologyIjk< layout > Class Template Reference
[Topology]

MeshViz List of volume cells. More...

#include <MeshVizXLM/mesh/topology/MbTopologyIjk.h>

Inheritance diagram for MbTopologyIjk< layout >:
MiTopologyIjk MbTopology MbIjkToI< layout > MiTopology MiTopology MbHexahedronTopologyExplicitIjk< layout >

List of all members.

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)

Detailed Description

template<MiMeshIjk::StorageLayout layout = MiMeshIjk::LAYOUT_KJI>
class MbTopologyIjk< layout >

MeshViz List of volume cells.

An implementation for a IJK implicit mesh topology.


Constructor & Destructor Documentation

template<MiMeshIjk::StorageLayout layout = MiMeshIjk::LAYOUT_KJI>
MbTopologyIjk< layout >::MbTopologyIjk ( size_t  numCellI,
size_t  numCellJ,
size_t  numCellK 
) [inline]

Constructor.


Member Function Documentation

template<MiMeshIjk::StorageLayout layout = MiMeshIjk::LAYOUT_KJI>
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 >.

template<MiMeshIjk::StorageLayout layout = MiMeshIjk::LAYOUT_KJI>
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 >.

template<MiMeshIjk::StorageLayout layout = MiMeshIjk::LAYOUT_KJI>
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 >.

template<MiMeshIjk::StorageLayout layout = MiMeshIjk::LAYOUT_KJI>
virtual bool MbTopologyIjk< layout >::hasDeadCells (  )  const [inline, virtual]

Returns true if the mesh contains some dead cells.

Reimplemented from MbTopology.

template<MiMeshIjk::StorageLayout layout>
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.

Parameters:
(i,j,k) the index of the cell to check

Reimplemented from MiTopologyIjk.

Reimplemented in MbHexahedronTopologyExplicitIjk< layout >, and MbHexahedronTopologyExplicitIjk< LAYOUT >.

template<MiMeshIjk::StorageLayout 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).


The documentation for this class was generated from the following file:

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/