MyHexahedronTopologyExplicitIjk Class Reference

MeshViz Structured hexahedron mesh template. More...

#include <MeshVizXLM/mesh/templates/MyVolumeMeshHexahedronIjk.h>

Inheritance diagram for MyHexahedronTopologyExplicitIjk:
MiHexahedronTopologyExplicitIjk MiTopologyIjk MiTopology

List of all members.

Public Member Functions

size_t getNumCellsI () const
size_t getNumCellsJ () const
size_t getNumCellsK () const
void getCellNodeIndices (size_t i, size_t j, size_t k, size_t &n0, size_t &n1, size_t &n2, size_t &n3, size_t &n4, size_t &n5, size_t &n6, size_t &n7) const
bool hasDeadCells () const
bool isDead (size_t i, size_t j, size_t k) const
size_t getEndNodeId () const
size_t getBeginNodeId () const
size_t getTimeStamp () const

Detailed Description

MeshViz Structured hexahedron mesh template.

Header file to be completed including all required classes to define a structured hexahedron mesh with its associated scalar and vector sets.

Intended to help implement simple mesh. Just fill up the empty methods of the following classes (search for YOUR CODE HERE):

Hint: some should inherit both from MeshViz interfaces and the user's application data classes.

Note:
Nonmandatory methods are marked as optional.

For advanced implementations, refer to the MiVolumeMeshHexahedronIjk interface. Class defining the topology of the mesh.


Member Function Documentation

size_t MyHexahedronTopologyExplicitIjk::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 MiHexahedronTopologyExplicitIjk.

void MyHexahedronTopologyExplicitIjk::getCellNodeIndices ( size_t  i,
size_t  j,
size_t  k,
size_t &  n0,
size_t &  n1,
size_t &  n2,
size_t &  n3,
size_t &  n4,
size_t &  n5,
size_t &  n6,
size_t &  n7 
) const [inline, virtual]

Returns the 8 indices of a cell of this topology.

The cell is identified by three ids i,j,k.

Implements MiHexahedronTopologyExplicitIjk.

size_t MyHexahedronTopologyExplicitIjk::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 MiHexahedronTopologyExplicitIjk.

size_t MyHexahedronTopologyExplicitIjk::getNumCellsI (  )  const [inline, virtual]

Returns the number of cells on the first logical axis.

Implements MiTopologyIjk.

size_t MyHexahedronTopologyExplicitIjk::getNumCellsJ (  )  const [inline, virtual]

Returns the number of cells on the second logical axis.

Implements MiTopologyIjk.

size_t MyHexahedronTopologyExplicitIjk::getNumCellsK (  )  const [inline, virtual]

Returns the number of cells on the third logical axis.

Implements MiTopologyIjk.

size_t MyHexahedronTopologyExplicitIjk::getTimeStamp (  )  const [inline, virtual]

Returns a time stamp on this topology.

Implements MiTopology.

bool MyHexahedronTopologyExplicitIjk::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 MyHexahedronTopologyExplicitIjk::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.

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

Reimplemented from MiTopologyIjk.


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/