Public Member Functions | Private Attributes
mapAddedPolyMesh Class Reference

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

Collaboration diagram for mapAddedPolyMesh:
Collaboration graph
[legend]

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 labelListoldPointMap () const
 From old mesh point/face/cell to new mesh point/face/cell. More...
 
const labelListoldFaceMap () const
 
const labelListoldCellMap () const
 
const labelListoldPatchMap () const
 From old patch index to new patch index or -1 if patch. More...
 
const labelListoldPatchSizes () const
 Return list of the old patch sizes. More...
 
const labelListoldPatchStarts () 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 labelListaddedPointMap () const
 From added mesh point/face/cell to new mesh point/face/cell. More...
 
const labelListaddedFaceMap () const
 
const labelListaddedCellMap () const
 
const labelListaddedPatchMap () 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...
 

Detailed Description

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?

Source files

Definition at line 56 of file mapAddedPolyMesh.H.

Constructor & Destructor Documentation

◆ mapAddedPolyMesh()

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.

Member Function Documentation

◆ nOldPoints()

label nOldPoints ( ) const
inline

Definition at line 132 of file mapAddedPolyMesh.H.

References mapAddedPolyMesh::nOldPoints_.

◆ nOldFaces()

label nOldFaces ( ) const
inline

Definition at line 137 of file mapAddedPolyMesh.H.

References mapAddedPolyMesh::nOldFaces_.

◆ nOldCells()

label nOldCells ( ) const
inline

Definition at line 142 of file mapAddedPolyMesh.H.

References mapAddedPolyMesh::nOldCells_.

◆ oldPointMap()

const labelList& oldPointMap ( ) const
inline

From old mesh point/face/cell to new mesh point/face/cell.

Definition at line 149 of file mapAddedPolyMesh.H.

References mapAddedPolyMesh::oldPointMap_.

◆ oldFaceMap()

const labelList& oldFaceMap ( ) const
inline

Definition at line 153 of file mapAddedPolyMesh.H.

References mapAddedPolyMesh::oldFaceMap_.

Referenced by fvMeshDistribute::mapBoundaryData(), fvMeshAdder::MapSurfaceField(), and fvMeshAdder::MapVolField().

Here is the caller graph for this function:

◆ oldCellMap()

const labelList& oldCellMap ( ) const
inline

Definition at line 157 of file mapAddedPolyMesh.H.

References mapAddedPolyMesh::oldCellMap_.

Referenced by fvMeshAdder::MapDimField(), and fvMeshAdder::MapVolField().

Here is the caller graph for this function:

◆ oldPatchMap()

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 164 of file mapAddedPolyMesh.H.

Referenced by fvMeshAdder::MapSurfaceField(), and fvMeshAdder::MapVolField().

Here is the caller graph for this function:

◆ oldPatchSizes()

const labelList& oldPatchSizes ( ) const
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().

Here is the caller graph for this function:

◆ oldPatchStarts()

const labelList& oldPatchStarts ( ) const
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().

Here is the caller graph for this function:

◆ nOldInternalFaces()

label nOldInternalFaces ( ) const
inline

Number of old internal faces.

Definition at line 182 of file mapAddedPolyMesh.H.

References mapAddedPolyMesh::oldPatchStarts_.

Referenced by fvMeshDistribute::mapBoundaryData().

Here is the caller graph for this function:

◆ nAddedPoints()

label nAddedPoints ( ) const
inline

Definition at line 190 of file mapAddedPolyMesh.H.

References mapAddedPolyMesh::nAddedPoints_.

◆ nAddedFaces()

label nAddedFaces ( ) const
inline

Definition at line 195 of file mapAddedPolyMesh.H.

References mapAddedPolyMesh::nAddedFaces_.

◆ nAddedCells()

label nAddedCells ( ) const
inline

Definition at line 200 of file mapAddedPolyMesh.H.

References mapAddedPolyMesh::nAddedCells_.

◆ addedPointMap()

const labelList& addedPointMap ( ) const
inline

From added mesh point/face/cell to new mesh point/face/cell.

Definition at line 206 of file mapAddedPolyMesh.H.

References mapAddedPolyMesh::addedPointMap_.

◆ addedFaceMap()

const labelList& addedFaceMap ( ) const
inline

Definition at line 210 of file mapAddedPolyMesh.H.

References mapAddedPolyMesh::addedFaceMap_.

Referenced by fvMeshDistribute::mapBoundaryData(), fvMeshAdder::MapSurfaceField(), and fvMeshAdder::MapVolField().

Here is the caller graph for this function:

◆ addedCellMap()

const labelList& addedCellMap ( ) const
inline

Definition at line 214 of file mapAddedPolyMesh.H.

References mapAddedPolyMesh::addedCellMap_.

Referenced by fvMeshAdder::MapDimField(), and fvMeshAdder::MapVolField().

Here is the caller graph for this function:

◆ addedPatchMap()

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 221 of file mapAddedPolyMesh.H.

Referenced by fvMeshAdder::MapSurfaceField(), and fvMeshAdder::MapVolField().

Here is the caller graph for this function:

◆ updateMesh()

void updateMesh ( const mapPolyMesh )
inline

Definition at line 229 of file mapAddedPolyMesh.H.

References NotImplemented.

Field Documentation

◆ nOldPoints_

label nOldPoints_
private

Old mesh points/face/cells.

Definition at line 61 of file mapAddedPolyMesh.H.

Referenced by mapAddedPolyMesh::nOldPoints().

◆ nOldFaces_

label nOldFaces_
private

Definition at line 62 of file mapAddedPolyMesh.H.

Referenced by mapAddedPolyMesh::nOldFaces().

◆ nOldCells_

label nOldCells_
private

Definition at line 63 of file mapAddedPolyMesh.H.

Referenced by mapAddedPolyMesh::nOldCells().

◆ nAddedPoints_

label nAddedPoints_
private

Added mesh points/faces/cells.

Definition at line 66 of file mapAddedPolyMesh.H.

Referenced by mapAddedPolyMesh::nAddedPoints().

◆ nAddedFaces_

label nAddedFaces_
private

Definition at line 67 of file mapAddedPolyMesh.H.

Referenced by mapAddedPolyMesh::nAddedFaces().

◆ nAddedCells_

label nAddedCells_
private

Definition at line 68 of file mapAddedPolyMesh.H.

Referenced by mapAddedPolyMesh::nAddedCells().

◆ oldPointMap_

labelList oldPointMap_
private

From old mesh points to new points.

Definition at line 72 of file mapAddedPolyMesh.H.

Referenced by mapAddedPolyMesh::oldPointMap().

◆ oldFaceMap_

labelList oldFaceMap_
private

From old mesh faces to new faces.

Definition at line 74 of file mapAddedPolyMesh.H.

Referenced by mapAddedPolyMesh::oldFaceMap().

◆ oldCellMap_

labelList oldCellMap_
private

From old mesh cells to new cells.

Definition at line 76 of file mapAddedPolyMesh.H.

Referenced by mapAddedPolyMesh::oldCellMap().

◆ addedPointMap_

labelList addedPointMap_
private

From added mesh points to new points.

Definition at line 79 of file mapAddedPolyMesh.H.

Referenced by mapAddedPolyMesh::addedPointMap().

◆ addedFaceMap_

labelList addedFaceMap_
private

From added mesh faces to new faces.

Definition at line 81 of file mapAddedPolyMesh.H.

Referenced by mapAddedPolyMesh::addedFaceMap().

◆ addedCellMap_

labelList addedCellMap_
private

From added mesh cells to new cells.

Definition at line 83 of file mapAddedPolyMesh.H.

Referenced by mapAddedPolyMesh::addedCellMap().

◆ oldPatchMap_

labelList oldPatchMap_
private

Original mesh to new mesh patch map. -1 for deleted patches.

Definition at line 86 of file mapAddedPolyMesh.H.

◆ addedPatchMap_

labelList addedPatchMap_
private

Added mesh to new mesh patch map. -1 for deleted patches.

Definition at line 89 of file mapAddedPolyMesh.H.

◆ oldPatchSizes_

labelList oldPatchSizes_
private

Original patch sizes on old mesh.

Definition at line 92 of file mapAddedPolyMesh.H.

Referenced by mapAddedPolyMesh::oldPatchSizes().

◆ oldPatchStarts_

labelList oldPatchStarts_
private

Original patch starts.

Definition at line 95 of file mapAddedPolyMesh.H.

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


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