OpenFOAM logo
Open Source CFD Toolkit

mapPolyMesh Class Reference

Inheritance diagram for mapPolyMesh:

Inheritance graph
[legend]
Collaboration diagram for mapPolyMesh:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 mapPolyMesh (const polyMesh &mesh, const label nOldPoints, const label nOldFaces, const label nOldCells, const labelList &pointMap, const labelList &faceMap, const List< objectMap > &facesFromPoints, const List< objectMap > &facesFromEdges, const labelList &cellMap, const List< objectMap > &cellsFromPoints, const List< objectMap > &cellsFromEdges, const List< objectMap > &cellsFromFaces, const labelList &reversePointMap, const labelList &reverseFaceMap, const labelList &reverseCellMap, const labelHashSet &flipFaceFlux, const labelListList &patchPointMap, const labelListList &pointZoneMap, const labelListList &faceZonePointMap, const labelListList &faceZoneFaceMap, const labelListList &cellZoneMap, const pointField &preMotionPoints, const labelList &oldPatchStarts, const labelList &oldPatchNMeshPoints)
 Construct from components.
const polyMeshmesh () const
 Return polyMesh.
label nOldPoints () const
 Number of old points.
label nOldInternalFaces () const
 Number of old internal faces.
label nOldFaces () const
 Number of old faces.
label nOldCells () const
 Number of old cells.
const labelListpointMap () const
 Old point map.
const labelListfaceMap () const
 Old face map.
const List< objectMap > & facesFromPointsMap () const
 Faces inflated from points.
const List< objectMap > & facesFromEdgesMap () const
 Faces inflated from edges.
const labelListcellMap () const
 Old cell map.
const List< objectMap > & cellsFromPointsMap () const
 Cells inflated from points.
const List< objectMap > & cellsFromEdgesMap () const
 Cells inflated from edges.
const List< objectMap > & cellsFromFacesMap () const
 Cells inflated from faces.
const labelListreversePointMap () const
 Reverse point map.
const labelListreverseFaceMap () const
 Reverse face map.
const labelListreverseCellMap () const
 Reverse cell map.
const labelHashSetflipFaceFlux () const
 Map of flipped face flux faces.
const labelListListpatchPointMap () const
 Patch point renumbering.
const labelListListpointZoneMap () const
 Point zone renumbering.
const labelListListfaceZonePointMap () const
 Face zone point renumbering.
const labelListListfaceZoneFaceMap () const
 Face zone face renumbering.
const labelListListcellZoneMap () const
 Cell zone renumbering.
const pointFieldpreMotionPoints () const
 Pre-motion point positions.
bool hasMotionPoints () const
 Has valid preMotionPoints?
const labelListoldPatchSizes () const
 Return list of the old patch sizes.
const labelListoldPatchStarts () const
 Return list of the old patch start labels.
const labelListoldPatchNMeshPoints () const
 Return numbers of mesh points per old patch.

Constructor & Destructor Documentation

mapPolyMesh const polyMesh mesh,
const label  nOldPoints,
const label  nOldFaces,
const label  nOldCells,
const labelList pointMap,
const labelList faceMap,
const List< objectMap > &  facesFromPoints,
const List< objectMap > &  facesFromEdges,
const labelList cellMap,
const List< objectMap > &  cellsFromPoints,
const List< objectMap > &  cellsFromEdges,
const List< objectMap > &  cellsFromFaces,
const labelList reversePointMap,
const labelList reverseFaceMap,
const labelList reverseCellMap,
const labelHashSet flipFaceFlux,
const labelListList patchPointMap,
const labelListList pointZoneMap,
const labelListList faceZonePointMap,
const labelListList faceZoneFaceMap,
const labelListList cellZoneMap,
const pointField preMotionPoints,
const labelList oldPatchStarts,
const labelList oldPatchNMeshPoints
 

Construct from components.


Member Function Documentation

const labelList& cellMap  )  const [inline]
 

Old cell map.

Contains old cell label for all preserved cells.

Definition at line 386 of file mapPolyMesh.H.

const List<objectMap>& cellsFromEdgesMap  )  const [inline]
 

Cells inflated from edges.

Definition at line 398 of file mapPolyMesh.H.

References Foam::labelList.

const List<objectMap>& cellsFromFacesMap  )  const [inline]
 

Cells inflated from faces.

Definition at line 404 of file mapPolyMesh.H.

References Foam::labelHashSet.

const List<objectMap>& cellsFromPointsMap  )  const [inline]
 

Cells inflated from points.

Definition at line 392 of file mapPolyMesh.H.

References Foam::labelList.

const labelListList& cellZoneMap  )  const [inline]
 

Cell zone renumbering.

For every preserved cell in zone give the old position. For added cells, the index is set to -1

Definition at line 495 of file mapPolyMesh.H.

const labelList& faceMap  )  const [inline]
 

Old face map.

Contains a list of old face labels for every new face. Warning: this map contains invalid entries for new faces

Definition at line 365 of file mapPolyMesh.H.

const List<objectMap>& facesFromEdgesMap  )  const [inline]
 

Faces inflated from edges.

Definition at line 377 of file mapPolyMesh.H.

const List<objectMap>& facesFromPointsMap  )  const [inline]
 

Faces inflated from points.

Definition at line 371 of file mapPolyMesh.H.

const labelListList& faceZoneFaceMap  )  const [inline]
 

Face zone face renumbering.

For every preserved face in zone give the old position. For added faces, the index is set to -1

Definition at line 485 of file mapPolyMesh.H.

const labelListList& faceZonePointMap  )  const [inline]
 

Face zone point renumbering.

For every preserved point in zone give the old position. For added points, the index is set to -1

Definition at line 475 of file mapPolyMesh.H.

References Foam::labelList.

const labelHashSet& flipFaceFlux  )  const [inline]
 

Map of flipped face flux faces.

Definition at line 442 of file mapPolyMesh.H.

References Foam::labelListList.

bool hasMotionPoints  )  const [inline]
 

Has valid preMotionPoints?

Definition at line 511 of file mapPolyMesh.H.

const polyMesh& mesh  )  const [inline]
 

Return polyMesh.

Definition at line 320 of file mapPolyMesh.H.

References Foam::label.

label nOldCells  )  const [inline]
 

Number of old cells.

Definition at line 344 of file mapPolyMesh.H.

label nOldFaces  )  const [inline]
 

Number of old faces.

Definition at line 338 of file mapPolyMesh.H.

References Foam::labelList.

label nOldInternalFaces  )  const [inline]
 

Number of old internal faces.

Definition at line 332 of file mapPolyMesh.H.

label nOldPoints  )  const [inline]
 

Number of old points.

Definition at line 326 of file mapPolyMesh.H.

References Foam::labelList.

const labelList& oldPatchNMeshPoints  )  const [inline]
 

Return numbers of mesh points per old patch.

Definition at line 530 of file mapPolyMesh.H.

const labelList& oldPatchSizes  )  const [inline]
 

Return list of the old patch sizes.

Definition at line 518 of file mapPolyMesh.H.

const labelList& oldPatchStarts  )  const [inline]
 

Return list of the old patch start labels.

Definition at line 524 of file mapPolyMesh.H.

const labelListList& patchPointMap  )  const [inline]
 

Patch point renumbering.

For every preserved point on a patch give the old position. For added points, the index is set to -1

Definition at line 452 of file mapPolyMesh.H.

const labelList& pointMap  )  const [inline]
 

Old point map.

Contains the old point label for all new points. For preserved points this is the old point label. For added points this is the master point ID

Definition at line 355 of file mapPolyMesh.H.

References Foam::labelList.

const labelListList& pointZoneMap  )  const [inline]
 

Point zone renumbering.

For every preserved point in zone give the old position. For added points, the index is set to -1

Definition at line 465 of file mapPolyMesh.H.

References HashTable::size().

Here is the call graph for this function:

const pointField& preMotionPoints  )  const [inline]
 

Pre-motion point positions.

This specifies the correct way of blowing up zero-volume objects

Definition at line 505 of file mapPolyMesh.H.

const labelList& reverseCellMap  )  const [inline]
 

Reverse cell map.

Contains new cell label for all old and added cells

Definition at line 435 of file mapPolyMesh.H.

const labelList& reverseFaceMap  )  const [inline]
 

Reverse face map.

Contains new face label for all old and added faces

Definition at line 426 of file mapPolyMesh.H.

References Foam::labelListList.

const labelList& reversePointMap  )  const [inline]
 

Reverse point map.

Contains new point label for all old and added points

Definition at line 416 of file mapPolyMesh.H.


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