MbIjkToI< layout > Class Template Reference
[Mesh implementation example]

MeshViz Simple adaptor that transforms a triplet of indices (i,j,k) into a single index. More...

#include <MeshVizXLM/mesh/MbIjkToI.h>

Inheritance diagram for MbIjkToI< layout >:
MbTopologyIjk< layout > MbHexahedronTopologyExplicitIjk< layout >

List of all members.

Public Member Functions

 MbIjkToI (size_t numCellI, size_t numCellJ, size_t numCellK)
size_t getI (size_t i, size_t j, size_t k) const

Detailed Description

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

MeshViz Simple adaptor that transforms a triplet of indices (i,j,k) into a single index.

Transforms matrix(N,M,L) indices into a single index.


Constructor & Destructor Documentation

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

Constructor.

Parameters:
numCellI number of cells on the first axis of the input matrix.
numCellJ number of cells on the second axis of the input matrix.
numCellK number of cells on the second axis of the input matrix.

Member Function Documentation

template<MiMeshIjk::StorageLayout layout = MiMeshIjk::LAYOUT_KJI>
size_t MbIjkToI< layout >::getI ( size_t  i,
size_t  j,
size_t  k 
) const [inline]

Computes the index associated with the triplet (i,j,k).


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/