mapSubsetMesh Class Reference

Class containing mesh-to-mesh mapping information after a subset operation. More...

Public Member Functions

 mapSubsetMesh (const label nOldPoints, const label nOldFaces, const label nOldCells, const labelList &pointMap, const labelList &faceMap, const labelList &cellMap, const label exposedPatchID, const labelList &oldPatchStarts, const labelList &oldPatchNMeshPoints)
 Construct from components. More...
 
 mapSubsetMesh (const label nOldPoints, const label nOldFaces, const label nOldCells, labelList &pointMap, labelList &faceMap, labelList &cellMap, const label exposedPatchID, labelList &oldPatchStarts, labelList &oldPatchNMeshPoints, const bool reuse)
 Construct from components and optionally reuse storage. More...
 
label nOldPoints () const
 Number of old points. More...
 
label nOldInternalFaces () const
 Number of old internal faces. More...
 
label nOldFaces () const
 Number of old faces. More...
 
label nOldCells () const
 Number of old cells. More...
 
label exposedPatchID () const
 Patch that exposed faces were put into. More...
 
const labelListpointMap () const
 Old point map. More...
 
const labelListfaceMap () const
 Old face map. More...
 
const labelListcellMap () const
 Old cell map. More...
 
const labelListoldPatchSizes () const
 Return list of the old patch sizes. More...
 
const labelListoldPatchStarts () const
 Return list of the old patch start labels. More...
 
const labelListoldPatchNMeshPoints () const
 Return numbers of mesh points per old patch. More...
 

Detailed Description

Class containing mesh-to-mesh mapping information after a subset operation.

Source files

Definition at line 49 of file mapSubsetMesh.H.

Constructor & Destructor Documentation

◆ mapSubsetMesh() [1/2]

mapSubsetMesh ( const label  nOldPoints,
const label  nOldFaces,
const label  nOldCells,
const labelList pointMap,
const labelList faceMap,
const labelList cellMap,
const label  exposedPatchID,
const labelList oldPatchStarts,
const labelList oldPatchNMeshPoints 
)

Construct from components.

◆ mapSubsetMesh() [2/2]

mapSubsetMesh ( const label  nOldPoints,
const label  nOldFaces,
const label  nOldCells,
labelList pointMap,
labelList faceMap,
labelList cellMap,
const label  exposedPatchID,
labelList oldPatchStarts,
labelList oldPatchNMeshPoints,
const bool  reuse 
)

Construct from components and optionally reuse storage.

Member Function Documentation

◆ nOldPoints()

label nOldPoints ( ) const
inline

Number of old points.

Definition at line 122 of file mapSubsetMesh.H.

◆ nOldInternalFaces()

label nOldInternalFaces ( ) const
inline

Number of old internal faces.

Definition at line 128 of file mapSubsetMesh.H.

◆ nOldFaces()

label nOldFaces ( ) const
inline

Number of old faces.

Definition at line 134 of file mapSubsetMesh.H.

◆ nOldCells()

label nOldCells ( ) const
inline

Number of old cells.

Definition at line 140 of file mapSubsetMesh.H.

◆ exposedPatchID()

label exposedPatchID ( ) const
inline

Patch that exposed faces were put into.

Definition at line 146 of file mapSubsetMesh.H.

◆ pointMap()

const labelList& pointMap ( ) const
inline

Old point map.

Contains the old point label for all points of the subsetted mesh

Definition at line 154 of file mapSubsetMesh.H.

◆ faceMap()

const labelList& faceMap ( ) const
inline

Old face map.

Contains the old point label for all faces of the subsetted mesh

Definition at line 162 of file mapSubsetMesh.H.

◆ cellMap()

const labelList& cellMap ( ) const
inline

Old cell map.

Contains the old point label for all cells of the subsetted mesh

Definition at line 170 of file mapSubsetMesh.H.

◆ oldPatchSizes()

const labelList& oldPatchSizes ( ) const
inline

Return list of the old patch sizes.

Definition at line 176 of file mapSubsetMesh.H.

◆ oldPatchStarts()

const labelList& oldPatchStarts ( ) const
inline

Return list of the old patch start labels.

Definition at line 182 of file mapSubsetMesh.H.

◆ oldPatchNMeshPoints()

const labelList& oldPatchNMeshPoints ( ) const
inline

Return numbers of mesh points per old patch.

Definition at line 188 of file mapSubsetMesh.H.


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