Public Member Functions | Private Attributes
mapSubsetMesh Class Reference

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

Inheritance diagram for mapSubsetMesh:
Inheritance graph
[legend]
Collaboration diagram for mapSubsetMesh:
Collaboration graph
[legend]

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...
 
- Public Member Functions inherited from refCount
 refCount ()
 Construct null with zero count. More...
 
int count () const
 Return the reference count. More...
 
bool okToDelete () const
 Return true if the reference count is zero. More...
 
void resetRefCount ()
 Reset the reference count to zero. More...
 
void operator++ ()
 Increment the reference count. More...
 
void operator++ (int)
 Increment the reference count. More...
 
void operator-- ()
 Decrement the reference count. More...
 
void operator-- (int)
 Decrement the reference count. More...
 

Private Attributes

label nOldPoints_
 Number of old live points. More...
 
label nOldFaces_
 Number of old live faces. More...
 
label nOldCells_
 Number of old live cells. More...
 
const labelList pointMap_
 Point mapping array. More...
 
const labelList faceMap_
 Face mapping array. More...
 
const labelList cellMap_
 Cell mapping array. More...
 
const label exposedPatchID_
 Patch for exposed faces. More...
 
labelList oldPatchSizes_
 List of the old patch sizes. More...
 
const labelList oldPatchStarts_
 List of the old patch start labels. More...
 
const labelList oldPatchNMeshPoints_
 List of 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 48 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 123 of file mapSubsetMesh.H.

References mapSubsetMesh::nOldPoints_.

◆ nOldInternalFaces()

label nOldInternalFaces ( ) const
inline

Number of old internal faces.

Definition at line 129 of file mapSubsetMesh.H.

References mapSubsetMesh::oldPatchStarts_.

◆ nOldFaces()

label nOldFaces ( ) const
inline

Number of old faces.

Definition at line 135 of file mapSubsetMesh.H.

References mapSubsetMesh::nOldFaces_.

◆ nOldCells()

label nOldCells ( ) const
inline

Number of old cells.

Definition at line 141 of file mapSubsetMesh.H.

References mapSubsetMesh::nOldCells_.

◆ exposedPatchID()

label exposedPatchID ( ) const
inline

Patch that exposed faces were put into.

Definition at line 147 of file mapSubsetMesh.H.

References mapSubsetMesh::exposedPatchID_.

◆ pointMap()

const labelList& pointMap ( ) const
inline

Old point map.

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

Definition at line 155 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 163 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 171 of file mapSubsetMesh.H.

◆ oldPatchSizes()

const labelList& oldPatchSizes ( ) const
inline

Return list of the old patch sizes.

Definition at line 177 of file mapSubsetMesh.H.

References mapSubsetMesh::oldPatchSizes_.

◆ oldPatchStarts()

const labelList& oldPatchStarts ( ) const
inline

Return list of the old patch start labels.

Definition at line 183 of file mapSubsetMesh.H.

References mapSubsetMesh::oldPatchStarts_.

◆ oldPatchNMeshPoints()

const labelList& oldPatchNMeshPoints ( ) const
inline

Return numbers of mesh points per old patch.

Definition at line 189 of file mapSubsetMesh.H.

References mapSubsetMesh::oldPatchNMeshPoints_.

Field Documentation

◆ nOldPoints_

label nOldPoints_
private

Number of old live points.

Definition at line 55 of file mapSubsetMesh.H.

Referenced by mapSubsetMesh::nOldPoints().

◆ nOldFaces_

label nOldFaces_
private

Number of old live faces.

Definition at line 58 of file mapSubsetMesh.H.

Referenced by mapSubsetMesh::nOldFaces().

◆ nOldCells_

label nOldCells_
private

Number of old live cells.

Definition at line 61 of file mapSubsetMesh.H.

Referenced by mapSubsetMesh::nOldCells().

◆ pointMap_

const labelList pointMap_
private

Point mapping array.

Definition at line 64 of file mapSubsetMesh.H.

◆ faceMap_

const labelList faceMap_
private

Face mapping array.

Definition at line 67 of file mapSubsetMesh.H.

◆ cellMap_

const labelList cellMap_
private

Cell mapping array.

Definition at line 70 of file mapSubsetMesh.H.

◆ exposedPatchID_

const label exposedPatchID_
private

Patch for exposed faces.

Definition at line 73 of file mapSubsetMesh.H.

Referenced by mapSubsetMesh::exposedPatchID().

◆ oldPatchSizes_

labelList oldPatchSizes_
private

List of the old patch sizes.

Definition at line 76 of file mapSubsetMesh.H.

Referenced by mapSubsetMesh::oldPatchSizes().

◆ oldPatchStarts_

const labelList oldPatchStarts_
private

List of the old patch start labels.

Definition at line 79 of file mapSubsetMesh.H.

Referenced by mapSubsetMesh::nOldInternalFaces(), and mapSubsetMesh::oldPatchStarts().

◆ oldPatchNMeshPoints_

const labelList oldPatchNMeshPoints_
private

List of numbers of mesh points per old patch.

Definition at line 82 of file mapSubsetMesh.H.

Referenced by mapSubsetMesh::oldPatchNMeshPoints().


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