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...
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. More... | |
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. More... | |
const labelList & | oldFaceMap () const |
const labelList & | oldCellMap () const |
const labelList & | oldPatchMap () const |
From old patch index to new patch index or -1 if patch. 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... | |
label | nOldInternalFaces () const |
Number of old internal faces. More... | |
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. More... | |
const labelList & | addedFaceMap () const |
const labelList & | addedCellMap () const |
const labelList & | addedPatchMap () const |
From added mesh patch index to new patch index or -1 if. More... | |
void | updateMesh (const mapPolyMesh &) |
Private Attributes | |
label | nOldPoints_ |
Old mesh points/face/cells. More... | |
label | nOldFaces_ |
label | nOldCells_ |
label | nAddedPoints_ |
Added mesh points/faces/cells. More... | |
label | nAddedFaces_ |
label | nAddedCells_ |
labelList | oldPointMap_ |
From old mesh points to new points. More... | |
labelList | oldFaceMap_ |
From old mesh faces to new faces. More... | |
labelList | oldCellMap_ |
From old mesh cells to new cells. More... | |
labelList | addedPointMap_ |
From added mesh points to new points. More... | |
labelList | addedFaceMap_ |
From added mesh faces to new faces. More... | |
labelList | addedCellMap_ |
From added mesh cells to new cells. More... | |
labelList | oldPatchMap_ |
Original mesh to new mesh patch map. -1 for deleted patches. More... | |
labelList | addedPatchMap_ |
Added mesh to new mesh patch map. -1 for deleted patches. More... | |
labelList | oldPatchSizes_ |
Original patch sizes on old mesh. More... | |
labelList | oldPatchStarts_ |
Original patch starts. More... | |
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 56 of file mapAddedPolyMesh.H.
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.
|
inline |
Definition at line 132 of file mapAddedPolyMesh.H.
References mapAddedPolyMesh::nOldPoints_.
|
inline |
Definition at line 137 of file mapAddedPolyMesh.H.
References mapAddedPolyMesh::nOldFaces_.
|
inline |
Definition at line 142 of file mapAddedPolyMesh.H.
References mapAddedPolyMesh::nOldCells_.
|
inline |
From old mesh point/face/cell to new mesh point/face/cell.
Definition at line 149 of file mapAddedPolyMesh.H.
References mapAddedPolyMesh::oldPointMap_.
|
inline |
Definition at line 153 of file mapAddedPolyMesh.H.
References mapAddedPolyMesh::oldFaceMap_.
Referenced by fvMeshDistribute::mapBoundaryData(), fvMeshAdder::MapSurfaceField(), and fvMeshAdder::MapVolField().
|
inline |
Definition at line 157 of file mapAddedPolyMesh.H.
References mapAddedPolyMesh::oldCellMap_.
Referenced by fvMeshAdder::MapDimField(), and fvMeshAdder::MapVolField().
|
inline |
From old patch index to new patch index or -1 if patch.
not present (since 0 size)
Definition at line 164 of file mapAddedPolyMesh.H.
Referenced by fvMeshAdder::MapSurfaceField(), and fvMeshAdder::MapVolField().
|
inline |
Return list of the old patch sizes.
Definition at line 170 of file mapAddedPolyMesh.H.
References mapAddedPolyMesh::oldPatchSizes_.
Referenced by fvMeshAdder::MapSurfaceField(), and fvMeshAdder::MapVolField().
|
inline |
Return list of the old patch start labels.
Definition at line 176 of file mapAddedPolyMesh.H.
References mapAddedPolyMesh::oldPatchStarts_.
Referenced by fvMeshAdder::MapSurfaceField(), and fvMeshAdder::MapVolField().
|
inline |
Number of old internal faces.
Definition at line 182 of file mapAddedPolyMesh.H.
References mapAddedPolyMesh::oldPatchStarts_.
Referenced by fvMeshDistribute::mapBoundaryData().
|
inline |
Definition at line 190 of file mapAddedPolyMesh.H.
References mapAddedPolyMesh::nAddedPoints_.
|
inline |
Definition at line 195 of file mapAddedPolyMesh.H.
References mapAddedPolyMesh::nAddedFaces_.
|
inline |
Definition at line 200 of file mapAddedPolyMesh.H.
References mapAddedPolyMesh::nAddedCells_.
|
inline |
From added mesh point/face/cell to new mesh point/face/cell.
Definition at line 206 of file mapAddedPolyMesh.H.
References mapAddedPolyMesh::addedPointMap_.
|
inline |
Definition at line 210 of file mapAddedPolyMesh.H.
References mapAddedPolyMesh::addedFaceMap_.
Referenced by fvMeshDistribute::mapBoundaryData(), fvMeshAdder::MapSurfaceField(), and fvMeshAdder::MapVolField().
|
inline |
Definition at line 214 of file mapAddedPolyMesh.H.
References mapAddedPolyMesh::addedCellMap_.
Referenced by fvMeshAdder::MapDimField(), and fvMeshAdder::MapVolField().
|
inline |
From added mesh patch index to new patch index or -1 if.
patch not present (since 0 size)
Definition at line 221 of file mapAddedPolyMesh.H.
Referenced by fvMeshAdder::MapSurfaceField(), and fvMeshAdder::MapVolField().
|
inline |
Definition at line 229 of file mapAddedPolyMesh.H.
References NotImplemented.
|
private |
Old mesh points/face/cells.
Definition at line 61 of file mapAddedPolyMesh.H.
Referenced by mapAddedPolyMesh::nOldPoints().
|
private |
Definition at line 62 of file mapAddedPolyMesh.H.
Referenced by mapAddedPolyMesh::nOldFaces().
|
private |
Definition at line 63 of file mapAddedPolyMesh.H.
Referenced by mapAddedPolyMesh::nOldCells().
|
private |
Added mesh points/faces/cells.
Definition at line 66 of file mapAddedPolyMesh.H.
Referenced by mapAddedPolyMesh::nAddedPoints().
|
private |
Definition at line 67 of file mapAddedPolyMesh.H.
Referenced by mapAddedPolyMesh::nAddedFaces().
|
private |
Definition at line 68 of file mapAddedPolyMesh.H.
Referenced by mapAddedPolyMesh::nAddedCells().
|
private |
From old mesh points to new points.
Definition at line 72 of file mapAddedPolyMesh.H.
Referenced by mapAddedPolyMesh::oldPointMap().
|
private |
From old mesh faces to new faces.
Definition at line 74 of file mapAddedPolyMesh.H.
Referenced by mapAddedPolyMesh::oldFaceMap().
|
private |
From old mesh cells to new cells.
Definition at line 76 of file mapAddedPolyMesh.H.
Referenced by mapAddedPolyMesh::oldCellMap().
|
private |
From added mesh points to new points.
Definition at line 79 of file mapAddedPolyMesh.H.
Referenced by mapAddedPolyMesh::addedPointMap().
|
private |
From added mesh faces to new faces.
Definition at line 81 of file mapAddedPolyMesh.H.
Referenced by mapAddedPolyMesh::addedFaceMap().
|
private |
From added mesh cells to new cells.
Definition at line 83 of file mapAddedPolyMesh.H.
Referenced by mapAddedPolyMesh::addedCellMap().
|
private |
Original mesh to new mesh patch map. -1 for deleted patches.
Definition at line 86 of file mapAddedPolyMesh.H.
|
private |
Added mesh to new mesh patch map. -1 for deleted patches.
Definition at line 89 of file mapAddedPolyMesh.H.
|
private |
Original patch sizes on old mesh.
Definition at line 92 of file mapAddedPolyMesh.H.
Referenced by mapAddedPolyMesh::oldPatchSizes().
|
private |
Original patch starts.
Definition at line 95 of file mapAddedPolyMesh.H.
Referenced by mapAddedPolyMesh::nOldInternalFaces(), and mapAddedPolyMesh::oldPatchStarts().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.