Public Member Functions | List of all members
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...
 

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

label nOldPoints ( ) const
inline

Number of old points.

Definition at line 123 of file mapSubsetMesh.H.

label nOldInternalFaces ( ) const
inline

Number of old internal faces.

Definition at line 129 of file mapSubsetMesh.H.

label nOldFaces ( ) const
inline

Number of old faces.

Definition at line 135 of file mapSubsetMesh.H.

label nOldCells ( ) const
inline

Number of old cells.

Definition at line 141 of file mapSubsetMesh.H.

label exposedPatchID ( ) const
inline

Patch that exposed faces were put into.

Definition at line 147 of file mapSubsetMesh.H.

References mapSubsetMesh::cellMap(), mapSubsetMesh::faceMap(), and mapSubsetMesh::pointMap().

Here is the call graph for this function:

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.

Referenced by mapSubsetMesh::exposedPatchID().

Here is the caller graph for this function:

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.

Referenced by mapSubsetMesh::exposedPatchID().

Here is the caller graph for this function:

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.

Referenced by mapSubsetMesh::exposedPatchID().

Here is the caller graph for this function:

const labelList& oldPatchSizes ( ) const
inline

Return list of the old patch sizes.

Definition at line 177 of file mapSubsetMesh.H.

const labelList& oldPatchStarts ( ) const
inline

Return list of the old patch start labels.

Definition at line 183 of file mapSubsetMesh.H.

const labelList& oldPatchNMeshPoints ( ) const
inline

Return numbers of mesh points per old patch.

Definition at line 189 of file mapSubsetMesh.H.


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