Go to the documentation of this file.
139 #ifndef mapPolyMesh_H
140 #define mapPolyMesh_H
488 <<
"old point label " << oldPointI
489 <<
" has reverseMap " << i <<
endl
490 <<
"Only call mergedPoint for removed points."
519 <<
"old face label " << oldFaceI
520 <<
" has reverseMap " << i <<
endl
521 <<
"Only call mergedFace for removed faces."
550 <<
"old cell label " << oldCellI
551 <<
" has reverseMap " << i <<
endl
552 <<
"Only call mergedCell for removed cells."
const List< objectMap > & facesFromPointsMap() const
Faces inflated from points.
const labelListList & faceZonePointMap() const
Face zone point renumbering.
vectorField pointField
pointField is a vectorField.
const labelHashSet & flipFaceFlux() const
Map of flipped face flux faces.
const List< objectMap > & pointsFromPointsMap() const
Points originating from points.
const labelList pointMap_
Old point map.
const labelList & oldPatchNMeshPoints() const
Return numbers of mesh points per old patch.
List< label > labelList
A List of labels.
const labelList oldPatchNMeshPoints_
List of numbers of mesh points per old patch.
Reference counter for various OpenFOAM components.
const List< objectMap > pointsFromPointsMap_
Points resulting from merging points.
const List< objectMap > cellsFromPointsMap_
Cells inflated from points.
label mergedPoint(const label oldPointI) const
If point is removed return point (on new mesh) it merged.
const List< objectMap > & cellsFromPointsMap() const
Cells inflated from points.
label nOldFaces() const
Number of old faces.
const List< objectMap > facesFromPointsMap_
Faces inflated from points.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const labelList & oldPatchSizes() const
Return list of the old patch sizes.
const pointField & preMotionPoints() const
Pre-motion point positions.
const labelListList & cellZoneMap() const
Cell zone renumbering.
const labelList reverseFaceMap_
Reverse face map.
label mergedCell(const label oldCellI) const
If cell is removed return cell (on new mesh) it merged into.
label mergedFace(const label oldFaceI) const
If face is removed return face (on new mesh) it merged into.
const List< objectMap > cellsFromEdgesMap_
Cells inflated from edges.
Mesh consisting of general polyhedral cells.
const labelList reversePointMap_
Reverse point map.
const labelListList cellZoneMap_
Cell zone renumbering.
labelList oldPatchSizes_
List of the old patch sizes.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
label nOldPoints() const
Number of old points.
const label nOldFaces_
Number of old live faces.
const labelListList faceZoneFaceMap_
Face zone face renumbering.
const labelList oldPatchStarts_
List of the old patch start labels.
const labelHashSet flipFaceFlux_
Map of flipped face flux faces.
mapPolyMesh(const mapPolyMesh &)
Disallow default bitwise copy construct.
const List< objectMap > cellsFromCellsMap_
Cells resulting from merging cells.
const List< objectMap > & facesFromEdgesMap() const
Faces inflated from edges.
const labelListList faceZonePointMap_
Face zone point renumbering.
const labelList reverseCellMap_
Reverse cell map.
const List< objectMap > & facesFromFacesMap() const
Faces originating from faces.
const List< objectMap > cellsFromFacesMap_
Cells inflated from faces.
const List< objectMap > & cellsFromEdgesMap() const
Cells inflated from edges.
const labelList cellMap_
Old cell map.
errorManip< error > abort(error &err)
const scalarField & oldCellVolumes() const
const label nOldPoints_
Number of old live points.
const pointField preMotionPoints_
Pre-motion point positions.
const labelList & reverseFaceMap() const
Reverse face map.
const labelListList & patchPointMap() const
Patch point renumbering.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
List< labelList > labelListList
A List of labelList.
const labelList & reverseCellMap() const
Reverse cell map.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const polyMesh & mesh_
Reference to polyMesh.
autoPtr< scalarField > oldCellVolumesPtr_
Optional old cell volumes (for mapping)
const List< objectMap > facesFromEdgesMap_
Faces inflated from edges.
const labelList & reversePointMap() const
Reverse point map.
const labelList & oldPatchStarts() const
Return list of the old patch start labels.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const labelList & pointMap() const
Old point map.
label nOldCells() const
Number of old cells.
const labelListList & faceZoneFaceMap() const
Face zone face renumbering.
const labelList & faceMap() const
Old face map.
const List< objectMap > facesFromFacesMap_
Faces resulting from merging faces.
bool hasOldCellVolumes() const
const List< objectMap > & cellsFromFacesMap() const
Cells inflated from faces.
const labelListList pointZoneMap_
Point zone renumbering.
void operator=(const mapPolyMesh &)
Disallow default bitwise assignment.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
bool hasMotionPoints() const
Has valid preMotionPoints?
label nOldInternalFaces() const
Number of old internal faces.
const labelList faceMap_
Old face map.
const label nOldCells_
Number of old live cells.
const polyMesh & mesh() const
Return polyMesh.
const labelListList patchPointMap_
Patch mesh point renumbering.
const labelList & cellMap() const
Old cell map.
const List< objectMap > & cellsFromCellsMap() const
Cells originating from cells.
const labelListList & pointZoneMap() const
Point zone renumbering.