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 labelList & | pointMap () const |
Old point map. More... | |
const labelList & | faceMap () const |
Old face map. More... | |
const labelList & | cellMap () const |
Old cell map. More... | |
const labelList & | oldPatchSizes () const |
Return list of the old patch sizes. More... | |
const labelList & | oldPatchStarts () const |
Return list of the old patch start labels. More... | |
const labelList & | oldPatchNMeshPoints () const |
Return numbers of mesh points per old patch. More... | |
![]() | |
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... | |
Class containing mesh-to-mesh mapping information after a subset operation.
Definition at line 48 of file mapSubsetMesh.H.
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.
|
inline |
Number of old points.
Definition at line 123 of file mapSubsetMesh.H.
References mapSubsetMesh::nOldPoints_.
|
inline |
Number of old internal faces.
Definition at line 129 of file mapSubsetMesh.H.
References mapSubsetMesh::oldPatchStarts_.
|
inline |
Number of old faces.
Definition at line 135 of file mapSubsetMesh.H.
References mapSubsetMesh::nOldFaces_.
|
inline |
Number of old cells.
Definition at line 141 of file mapSubsetMesh.H.
References mapSubsetMesh::nOldCells_.
|
inline |
Patch that exposed faces were put into.
Definition at line 147 of file mapSubsetMesh.H.
References mapSubsetMesh::exposedPatchID_.
|
inline |
Old point map.
Contains the old point label for all points of the subsetted mesh
Definition at line 155 of file mapSubsetMesh.H.
|
inline |
Old face map.
Contains the old point label for all faces of the subsetted mesh
Definition at line 163 of file mapSubsetMesh.H.
|
inline |
Old cell map.
Contains the old point label for all cells of the subsetted mesh
Definition at line 171 of file mapSubsetMesh.H.
|
inline |
Return list of the old patch sizes.
Definition at line 177 of file mapSubsetMesh.H.
References mapSubsetMesh::oldPatchSizes_.
|
inline |
Return list of the old patch start labels.
Definition at line 183 of file mapSubsetMesh.H.
References mapSubsetMesh::oldPatchStarts_.
|
inline |
Return numbers of mesh points per old patch.
Definition at line 189 of file mapSubsetMesh.H.
References mapSubsetMesh::oldPatchNMeshPoints_.
|
private |
Number of old live points.
Definition at line 55 of file mapSubsetMesh.H.
Referenced by mapSubsetMesh::nOldPoints().
|
private |
Number of old live faces.
Definition at line 58 of file mapSubsetMesh.H.
Referenced by mapSubsetMesh::nOldFaces().
|
private |
Number of old live cells.
Definition at line 61 of file mapSubsetMesh.H.
Referenced by mapSubsetMesh::nOldCells().
|
private |
Point mapping array.
Definition at line 64 of file mapSubsetMesh.H.
|
private |
Face mapping array.
Definition at line 67 of file mapSubsetMesh.H.
|
private |
Cell mapping array.
Definition at line 70 of file mapSubsetMesh.H.
|
private |
Patch for exposed faces.
Definition at line 73 of file mapSubsetMesh.H.
Referenced by mapSubsetMesh::exposedPatchID().
|
private |
List of the old patch sizes.
Definition at line 76 of file mapSubsetMesh.H.
Referenced by mapSubsetMesh::oldPatchSizes().
|
private |
List of the old patch start labels.
Definition at line 79 of file mapSubsetMesh.H.
Referenced by mapSubsetMesh::nOldInternalFaces(), and mapSubsetMesh::oldPatchStarts().
|
private |
List of numbers of mesh points per old patch.
Definition at line 82 of file mapSubsetMesh.H.
Referenced by mapSubsetMesh::oldPatchNMeshPoints().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.