171 const label nOldPoints_;
174 const label nOldFaces_;
177 const label nOldCells_;
381 return oldPatchStarts_[0];
408 return pointsFromPointsMap_;
422 return facesFromPointsMap_;
428 return facesFromEdgesMap_;
434 return facesFromFacesMap_;
447 return cellsFromPointsMap_;
453 return cellsFromEdgesMap_;
459 return cellsFromFacesMap_;
465 return cellsFromCellsMap_;
475 return reversePointMap_;
482 label i = reversePointMap_[oldPointi];
495 <<
"old point label " << oldPointi
496 <<
" has reverseMap " << i <<
endl
497 <<
"Only call mergedPoint for removed points."
507 return reverseFaceMap_;
513 label i = reverseFaceMap_[oldFacei];
526 <<
"old face label " << oldFacei
527 <<
" has reverseMap " << i <<
endl
528 <<
"Only call mergedFace for removed faces."
538 return reverseCellMap_;
544 label i = reverseCellMap_[oldCelli];
557 <<
"old cell label " << oldCelli
558 <<
" has reverseMap " << i <<
endl
559 <<
"Only call mergedCell for removed cells."
568 return flipFaceFlux_;
576 return patchPointMap_;
587 return pointZoneMap_;
595 return faceZonePointMap_;
603 return faceZoneFaceMap_;
619 return preMotionPoints_;
625 return !preMotionPoints_.
empty();
632 return oldPatchSizes_;
638 return oldPatchStarts_;
644 return oldPatchNMeshPoints_;
652 return bool(oldCellVolumesPtr_);
657 return *oldCellVolumesPtr_;
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
bool empty() const noexcept
True if List is empty (ie, size() is zero).
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const labelHashSet & flipFaceFlux() const noexcept
Map of flipped face flux faces.
const List< objectMap > & cellsFromPointsMap() const noexcept
Cells inflated from points.
label mergedFace(const label oldFacei) const
If face is removed return face (on new mesh) it merged into.
void operator=(const mapPolyMesh &)=delete
No copy assignment.
const List< objectMap > & cellsFromFacesMap() const noexcept
Cells inflated from faces.
const List< objectMap > & facesFromEdgesMap() const noexcept
Faces inflated from edges.
const labelList & reverseCellMap() const noexcept
Reverse cell map.
label nOldInternalFaces() const
Number of old internal faces.
const labelListList & pointZoneMap() const noexcept
Point zone renumbering.
const pointField & preMotionPoints() const noexcept
Pre-motion point positions.
mapPolyMesh(const mapPolyMesh &)=delete
No copy construct.
label nOldCells() const noexcept
Number of old cells.
const List< objectMap > & cellsFromCellsMap() const noexcept
Cells originating from cells.
const labelList & reverseFaceMap() const noexcept
Reverse face map.
const List< objectMap > & facesFromPointsMap() const noexcept
Faces inflated from points.
const labelList & faceMap() const noexcept
Old face map.
const labelList & oldPatchStarts() const noexcept
Return list of the old patch start labels.
bool hasMotionPoints() const noexcept
Has valid preMotionPoints?
const List< objectMap > & pointsFromPointsMap() const noexcept
Points originating from points.
label nOldFaces() const noexcept
Number of old faces.
const labelList & oldPatchSizes() const noexcept
Return list of the old patch sizes.
label mergedPoint(const label oldPointi) const
If point is removed return point (on new mesh) it merged.
const labelListList & faceZonePointMap() const noexcept
Face zone point renumbering.
bool hasOldCellVolumes() const noexcept
label mergedCell(const label oldCelli) const
If cell is removed return cell (on new mesh) it merged into.
const List< objectMap > & facesFromFacesMap() const noexcept
Faces originating from faces.
const polyMesh & mesh() const noexcept
Return polyMesh.
const labelListList & cellZoneMap() const noexcept
Cell zone renumbering.
const labelList & cellMap() const noexcept
Old cell map.
const labelList & oldPatchNMeshPoints() const noexcept
Return numbers of mesh points per old patch.
const scalarField & oldCellVolumes() const
const labelList & reversePointMap() const noexcept
Reverse point map.
const labelList & pointMap() const noexcept
Old point map.
const labelListList & faceZoneFaceMap() const noexcept
Face zone face renumbering.
const labelListList & patchPointMap() const noexcept
Patch point renumbering.
label nOldPoints() const noexcept
Number of old points.
const List< objectMap > & cellsFromEdgesMap() const noexcept
Cells inflated from edges.
Mesh consisting of general polyhedral cells.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
List< labelList > labelListList
List of labelList.
List< label > labelList
A List of labels.
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
vectorField pointField
pointField is a vectorField.