Class containing mesh-to-mesh mapping information after a mesh addition where we add a mesh ('added mesh') to an old mesh, creating a new mesh. More...
#include <OpenFOAM/mapAddedPolyMesh.H>
Class containing mesh-to-mesh mapping information after a mesh addition where we add a mesh ('added mesh') to an old mesh, creating a new mesh.
We store mapping from the old to the new mesh and from the added mesh to the new mesh.
Note: Might need some more access functions or maybe some zone maps?
Definition at line 57 of file mapAddedPolyMesh.H.
Public Member Functions | |
mapAddedPolyMesh (const label nOldPoints, const label nOldFaces, const label nOldCells, const label nAddedPoints, const label nAddedFaces, const label nAddedCells, const labelList &oldPointMap, const labelList &oldFaceMap, const labelList &oldCellMap, const labelList &addedPointMap, const labelList &addedFaceMap, const labelList &addedCellMap, const labelList &oldPatchMap, const labelList &addedPatchMap, const labelList &oldPatchSizes, const labelList &oldPatchStarts) | |
Construct from components.
| |
label | nOldPoints () const |
label | nOldFaces () const |
label | nOldCells () const |
const labelList & | oldPointMap () const |
From old mesh point/face/cell to new mesh point/face/cell.
| |
const labelList & | oldFaceMap () const |
const labelList & | oldCellMap () const |
const labelList & | oldPatchMap () const |
From old patch index to new patch index or -1 if patch.
| |
const labelList & | oldPatchSizes () const |
Return list of the old patch sizes.
| |
const labelList & | oldPatchStarts () const |
Return list of the old patch start labels.
| |
label | nOldInternalFaces () const |
Number of old internal faces.
| |
label | nAddedPoints () const |
label | nAddedFaces () const |
label | nAddedCells () const |
const labelList & | addedPointMap () const |
From added mesh point/face/cell to new mesh point/face/cell.
| |
const labelList & | addedFaceMap () const |
const labelList & | addedCellMap () const |
const labelList & | addedPatchMap () const |
From added mesh patch index to new patch index or -1 if.
| |
void | updateMesh (const mapPolyMesh &) |
mapAddedPolyMesh | ( | const label | nOldPoints, |
const label | nOldFaces, | ||
const label | nOldCells, | ||
const label | nAddedPoints, | ||
const label | nAddedFaces, | ||
const label | nAddedCells, | ||
const labelList & | oldPointMap, | ||
const labelList & | oldFaceMap, | ||
const labelList & | oldCellMap, | ||
const labelList & | addedPointMap, | ||
const labelList & | addedFaceMap, | ||
const labelList & | addedCellMap, | ||
const labelList & | oldPatchMap, | ||
const labelList & | addedPatchMap, | ||
const labelList & | oldPatchSizes, | ||
const labelList & | oldPatchStarts | ||
) |
Construct from components.
Definition at line 35 of file mapAddedPolyMesh.C.
label nOldPoints | ( | ) | const [inline]
|
Definition at line 133 of file mapAddedPolyMesh.H.
label nOldFaces | ( | ) | const [inline]
|
Definition at line 138 of file mapAddedPolyMesh.H.
label nOldCells | ( | ) | const [inline]
|
Definition at line 143 of file mapAddedPolyMesh.H.
const labelList& oldPointMap | ( | ) | const [inline]
|
From old mesh point/face/cell to new mesh point/face/cell.
Definition at line 150 of file mapAddedPolyMesh.H.
const labelList& oldFaceMap | ( | ) | const [inline]
|
Definition at line 154 of file mapAddedPolyMesh.H.
const labelList& oldCellMap | ( | ) | const [inline]
|
Definition at line 158 of file mapAddedPolyMesh.H.
const labelList& oldPatchMap | ( | ) | const [inline]
|
From old patch index to new patch index or -1 if patch.
not present (since 0 size)
Definition at line 165 of file mapAddedPolyMesh.H.
const labelList& oldPatchSizes | ( | ) | const [inline]
|
Return list of the old patch sizes.
Definition at line 171 of file mapAddedPolyMesh.H.
const labelList& oldPatchStarts | ( | ) | const [inline]
|
Return list of the old patch start labels.
Definition at line 177 of file mapAddedPolyMesh.H.
label nOldInternalFaces | ( | ) | const [inline]
|
Number of old internal faces.
Definition at line 183 of file mapAddedPolyMesh.H.
label nAddedPoints | ( | ) | const [inline]
|
Definition at line 191 of file mapAddedPolyMesh.H.
label nAddedFaces | ( | ) | const [inline]
|
Definition at line 196 of file mapAddedPolyMesh.H.
label nAddedCells | ( | ) | const [inline]
|
Definition at line 201 of file mapAddedPolyMesh.H.
const labelList& addedPointMap | ( | ) | const [inline]
|
From added mesh point/face/cell to new mesh point/face/cell.
Definition at line 207 of file mapAddedPolyMesh.H.
const labelList& addedFaceMap | ( | ) | const [inline]
|
Definition at line 211 of file mapAddedPolyMesh.H.
const labelList& addedCellMap | ( | ) | const [inline]
|
Definition at line 215 of file mapAddedPolyMesh.H.
const labelList& addedPatchMap | ( | ) | const [inline]
|
From added mesh patch index to new patch index or -1 if.
patch not present (since 0 size)
Definition at line 222 of file mapAddedPolyMesh.H.
void updateMesh | ( | const mapPolyMesh & | ) | [inline]
|
Definition at line 230 of file mapAddedPolyMesh.H.
References notImplemented.