MiHexahedronTopologyExplicitIjkGetStorageLayout Method |
Hint about cells organization in memory.
Namespace: OIV.MeshVizXLM.Mesh.TopologyAssembly: OIV.MeshVizXLM.Mesh (in OIV.MeshVizXLM.Mesh.dll) Version: 9.9.13.0.Release.908d87e01
SyntaxStorageLayoutIJK GetStorageLayout()
Function GetStorageLayout As StorageLayoutIJK
StorageLayoutIJK GetStorageLayout()
abstract GetStorageLayout : unit -> StorageLayoutIJK
Return Value
Type:
StorageLayoutIJK
Remarks
Hint about cells organization in memory.
This information aims at optimizing the topology traversal for extractors.
Returns the topology internal cells layout in memory as 6 enum values
covering all possible cases. For instance
means that:
- the cell (i+1,j,k) is consecutive in memory to the cell (i,j,k) and,
-
the row of cells (j+1,k) is consecutive in memory to the row of cells
(j,k) and,
-
the slice of cells (k+1) is consecutive in memory to the slice of cells
(k)
The fastest way to go through the cells with such layout is to perform the
following triple loop:
for each k with 0 <= k < numK
for each j with 0 <= j < numJ
for each i with 0 <= i < numI
topology.getCellNodeIndices(i,j,k,nodeIndices);
See Also