Bookkeeping for mesh subsetting and/or polyhedral cell decomposition. Although the main use case is for handling vtk meshes, it is not specific to VTK alone. More...
Public Member Functions | |
foamVtkMeshMaps ()=default | |
const labelList & | cellMap () const noexcept |
DynamicList< label > & | cellMap () noexcept |
const labelList & | pointMap () const noexcept |
DynamicList< label > & | pointMap () noexcept |
const labelList & | additionalIds () const noexcept |
DynamicList< label > & | additionalIds () noexcept |
void | clear () |
void | renumberCells (const labelUList &mapping) |
void | renumberPoints (const labelUList &mapping) |
Bookkeeping for mesh subsetting and/or polyhedral cell decomposition. Although the main use case is for handling vtk meshes, it is not specific to VTK alone.
The cellMap is a local-to-global lookup for normal and decomposed cells. The pointMap is an optional local-to-global lookup for point ids. The additional ids is typically used to store the cell-centre labels for additional points of decomposed cells
Definition at line 54 of file foamVtkMeshMaps.H.
|
default |
|
inlinenoexcept |
Definition at line 34 of file foamVtkMeshMapsI.H.
Referenced by vtuAdaptor::convertField(), vtuSizing::populateLegacy(), vtuSizing::populateShapesLegacy(), vtuSizing::populateShapesXml(), and vtuSizing::populateXml().
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 48 of file foamVtkMeshMapsI.H.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 62 of file foamVtkMeshMapsI.H.
Referenced by vtuSizing::populateLegacy(), vtuSizing::populateShapesLegacy(), vtuSizing::populateShapesXml(), and vtuSizing::populateXml().
|
inlinenoexcept |
|
inline |
Definition at line 25 of file foamVtkMeshMapsI.H.
References DynamicList::clear().
void renumberCells | ( | const labelUList & | mapping | ) |
Definition at line 26 of file foamVtkMeshMaps.C.
References Foam::inplaceRenumber().
void renumberPoints | ( | const labelUList & | mapping | ) |
Definition at line 33 of file foamVtkMeshMaps.C.
References Foam::inplaceRenumber().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.