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

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 &)
 

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 58 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 36 of file mapAddedPolyMesh.C.

Member Function Documentation

◆ nOldPoints()

label nOldPoints ( ) const
inline

Definition at line 134 of file mapAddedPolyMesh.H.

◆ nOldFaces()

label nOldFaces ( ) const
inline

Definition at line 139 of file mapAddedPolyMesh.H.

◆ nOldCells()

label nOldCells ( ) const
inline

Definition at line 144 of file mapAddedPolyMesh.H.

◆ oldPointMap()

const labelList& oldPointMap ( ) const
inline

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

Definition at line 151 of file mapAddedPolyMesh.H.

◆ oldFaceMap()

const labelList& oldFaceMap ( ) const
inline

Definition at line 155 of file mapAddedPolyMesh.H.

◆ oldCellMap()

const labelList& oldCellMap ( ) const
inline

Definition at line 159 of file mapAddedPolyMesh.H.

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

◆ oldPatchSizes()

const labelList& oldPatchSizes ( ) const
inline

Return list of the old patch sizes.

Definition at line 172 of file mapAddedPolyMesh.H.

◆ oldPatchStarts()

const labelList& oldPatchStarts ( ) const
inline

Return list of the old patch start labels.

Definition at line 178 of file mapAddedPolyMesh.H.

◆ nOldInternalFaces()

label nOldInternalFaces ( ) const
inline

Number of old internal faces.

Definition at line 184 of file mapAddedPolyMesh.H.

◆ nAddedPoints()

label nAddedPoints ( ) const
inline

Definition at line 192 of file mapAddedPolyMesh.H.

◆ nAddedFaces()

label nAddedFaces ( ) const
inline

Definition at line 197 of file mapAddedPolyMesh.H.

◆ nAddedCells()

label nAddedCells ( ) const
inline

Definition at line 202 of file mapAddedPolyMesh.H.

◆ addedPointMap()

const labelList& addedPointMap ( ) const
inline

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

Definition at line 208 of file mapAddedPolyMesh.H.

◆ addedFaceMap()

const labelList& addedFaceMap ( ) const
inline

Definition at line 212 of file mapAddedPolyMesh.H.

◆ addedCellMap()

const labelList& addedCellMap ( ) const
inline

Definition at line 216 of file mapAddedPolyMesh.H.

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

◆ updateMesh()

void updateMesh ( const mapPolyMesh )
inline

Definition at line 231 of file mapAddedPolyMesh.H.

References NotImplemented.


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