OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

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:

List of all members.


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

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


Constructor & Destructor Documentation

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


Member Function Documentation

label nOldPoints (  )  const [inline]

Definition at line 128 of file mapAddedPolyMesh.H.

label nOldFaces (  )  const [inline]

Definition at line 133 of file mapAddedPolyMesh.H.

label nOldCells (  )  const [inline]

Definition at line 138 of file mapAddedPolyMesh.H.

const labelList& oldPointMap (  )  const [inline]

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

Definition at line 145 of file mapAddedPolyMesh.H.

const labelList& oldFaceMap (  )  const [inline]

Definition at line 149 of file mapAddedPolyMesh.H.

const labelList& oldCellMap (  )  const [inline]

Definition at line 153 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 162 of file mapAddedPolyMesh.H.

const labelList& oldPatchSizes (  )  const [inline]

Return list of the old patch sizes.

Definition at line 168 of file mapAddedPolyMesh.H.

const labelList& oldPatchStarts (  )  const [inline]

Return list of the old patch start labels.

Definition at line 174 of file mapAddedPolyMesh.H.

label nOldInternalFaces (  )  const [inline]

Number of old internal faces.

Definition at line 180 of file mapAddedPolyMesh.H.

label nAddedPoints (  )  const [inline]

Definition at line 188 of file mapAddedPolyMesh.H.

label nAddedFaces (  )  const [inline]

Definition at line 193 of file mapAddedPolyMesh.H.

label nAddedCells (  )  const [inline]

Definition at line 198 of file mapAddedPolyMesh.H.

const labelList& addedPointMap (  )  const [inline]

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

Definition at line 204 of file mapAddedPolyMesh.H.

const labelList& addedFaceMap (  )  const [inline]

Definition at line 208 of file mapAddedPolyMesh.H.

const labelList& addedCellMap (  )  const [inline]

Definition at line 212 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 221 of file mapAddedPolyMesh.H.

void updateMesh ( const mapPolyMesh &   )  [inline]

Definition at line 229 of file mapAddedPolyMesh.H.

References notImplemented.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd