Public Member Functions | List of all members
foamVtkMeshMaps Class Reference

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...

Inheritance diagram for foamVtkMeshMaps:
Inheritance graph
[legend]

Public Member Functions

 foamVtkMeshMaps ()=default
 
const labelListcellMap () const noexcept
 
DynamicList< label > & cellMap () noexcept
 
const labelListpointMap () const noexcept
 
DynamicList< label > & pointMap () noexcept
 
const labelListadditionalIds () const noexcept
 
DynamicList< label > & additionalIds () noexcept
 
void clear ()
 
void renumberCells (const labelUList &mapping)
 
void renumberPoints (const labelUList &mapping)
 

Detailed Description

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

Source files

Definition at line 54 of file foamVtkMeshMaps.H.

Constructor & Destructor Documentation

◆ foamVtkMeshMaps()

foamVtkMeshMaps ( )
default

Member Function Documentation

◆ cellMap() [1/2]

Foam::DynamicList< Foam::label > & cellMap ( ) const
inlinenoexcept

◆ cellMap() [2/2]

DynamicList<label>& cellMap ( )
inlinenoexcept

◆ pointMap() [1/2]

Foam::DynamicList< Foam::label > & pointMap ( ) const
inlinenoexcept

Definition at line 48 of file foamVtkMeshMapsI.H.

◆ pointMap() [2/2]

DynamicList<label>& pointMap ( )
inlinenoexcept

◆ additionalIds() [1/2]

Foam::DynamicList< Foam::label > & additionalIds ( ) const
inlinenoexcept

Definition at line 62 of file foamVtkMeshMapsI.H.

Referenced by vtuSizing::populateLegacy(), vtuSizing::populateShapesLegacy(), vtuSizing::populateShapesXml(), and vtuSizing::populateXml().

Here is the caller graph for this function:

◆ additionalIds() [2/2]

DynamicList<label>& additionalIds ( )
inlinenoexcept

◆ clear()

void clear ( )
inline

Definition at line 25 of file foamVtkMeshMapsI.H.

References DynamicList::clear().

Here is the call graph for this function:

◆ renumberCells()

void renumberCells ( const labelUList mapping)

Definition at line 26 of file foamVtkMeshMaps.C.

References Foam::inplaceRenumber().

Here is the call graph for this function:

◆ renumberPoints()

void renumberPoints ( const labelUList mapping)

Definition at line 33 of file foamVtkMeshMaps.C.

References Foam::inplaceRenumber().

Here is the call graph for this function:

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