OpenFOAM logo
Open Source CFD Toolkit

mapAddedPolyMesh Class Reference

Collaboration diagram for mapAddedPolyMesh:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 mapAddedPolyMesh ()
 Construct null.
 mapAddedPolyMesh (const label nOldPoints, const label nOldFaces, const label nOldCells, const label nAddedPoints, const label nAddedFaces, const label nAddedCells, const labelList &pointMap, const labelList &faceMap, const labelList &cellMap, const labelList &oldPatchMap, const labelList &addedPatchMap)
 Construct from components.
 mapAddedPolyMesh (const mapAddedPolyMesh &)
 Construct as copy.
label nOldPoints () const
label nOldFaces () const
label nOldCells () const
const labelListoldPatchMap () const
 From old patch index to new patch index or -1 if patch.
label nAddedPoints () const
label nAddedFaces () const
label nAddedCells () const
const labelListaddedPatchMap () const
 From added mesh patch index to new patch index or -1 if.
const labelListpointMap () const
const labelListfaceMap () const
const labelListcellMap () const
labelList oldCellMap () const
 From old mesh cells to new mesh cells.
labelList addedCellMap () const
 From added mesh cells to new mesh cells. -1 if cell not added.
labelList oldFaceMap () const
 From old mesh faces to new mesh faces.
labelList addedFaceMap () const
 From added mesh faces to new mesh facess. -1 if face not added.
labelList oldPointMap () const
 From old mesh points to new mesh points.
labelList addedPointMap () const
 From added mesh points to new mesh points. -1 if pt not added.
void updateMesh (const mapPolyMesh &)

Static Public Member Functions

labelList combine (const label nNew, const labelList &, const labelList &)
 combine and invert map from old to new and from added to new
labelList combine (const label nNew, const label nOld, const labelList &)
 combine and invert map from old to new and from added to new.

Constructor & Destructor Documentation

mapAddedPolyMesh  ) 
 

Construct null.

mapAddedPolyMesh const label  nOldPoints,
const label  nOldFaces,
const label  nOldCells,
const label  nAddedPoints,
const label  nAddedFaces,
const label  nAddedCells,
const labelList pointMap,
const labelList faceMap,
const labelList cellMap,
const labelList oldPatchMap,
const labelList addedPatchMap
 

Construct from components.

mapAddedPolyMesh const mapAddedPolyMesh  ) 
 

Construct as copy.


Member Function Documentation

labelList addedCellMap  )  const
 

From added mesh cells to new mesh cells. -1 if cell not added.

labelList addedFaceMap  )  const
 

From added mesh faces to new mesh facess. -1 if face not added.

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

labelList addedPointMap  )  const
 

From added mesh points to new mesh points. -1 if pt not added.

const labelList& cellMap  )  const [inline]
 

Definition at line 256 of file mapAddedPolyMesh.H.

References Foam::labelList, and notImplemented.

labelList combine const label  nNew,
const label  nOld,
const labelList
[static]
 

combine and invert map from old to new and from added to new.

Difference with above one is that map from old to new is an identimap.

labelList combine const label  nNew,
const labelList ,
const labelList
[static]
 

combine and invert map from old to new and from added to new

const labelList& faceMap  )  const [inline]
 

Definition at line 251 of file mapAddedPolyMesh.H.

References Foam::labelList.

label nAddedCells  )  const [inline]
 

Definition at line 229 of file mapAddedPolyMesh.H.

References Foam::labelList.

label nAddedFaces  )  const [inline]
 

Definition at line 224 of file mapAddedPolyMesh.H.

label nAddedPoints  )  const [inline]
 

Definition at line 219 of file mapAddedPolyMesh.H.

label nOldCells  )  const [inline]
 

Definition at line 202 of file mapAddedPolyMesh.H.

References Foam::label.

label nOldFaces  )  const [inline]
 

Definition at line 197 of file mapAddedPolyMesh.H.

References Foam::labelList.

label nOldPoints  )  const [inline]
 

Definition at line 192 of file mapAddedPolyMesh.H.

labelList oldCellMap  )  const
 

From old mesh cells to new mesh cells.

labelList oldFaceMap  )  const
 

From old mesh faces to new mesh faces.

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

References Foam::label.

labelList oldPointMap  )  const
 

From old mesh points to new mesh points.

const labelList& pointMap  )  const [inline]
 

Definition at line 246 of file mapAddedPolyMesh.H.

References Foam::labelList.

void updateMesh const mapPolyMesh  )  [inline]
 

Definition at line 283 of file mapAddedPolyMesh.H.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org