41 #ifndef polyDistributionMap_H 42 #define polyDistributionMap_H 55 class polyDistributionMap;
57 Istream&
operator>>(Istream&, polyDistributionMap&);
58 Ostream&
operator<<(Ostream&,
const polyDistributionMap&);
103 void calcPatchSizes();
139 const bool subFaceHasFlip =
false,
140 const bool constructFaceHasFlip =
false 147 const label nOldPoints,
148 const label nOldFaces,
149 const label nOldCells,
195 return oldPatchSizes_;
201 return oldPatchStarts_;
207 return oldPatchNMeshPoints_;
void transfer(polyDistributionMap &)
Transfer the contents of the argument and annul the argument.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
polyDistributionMap()
Construct null.
const distributionMap & patchMap() const
Patch distribute map.
label nOldCells() const
Number of cells in mesh before distribution.
void distributePointIndices(labelList &pointIDs) const
Distribute list of point/face/cell/patch indices.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const distributionMap & cellMap() const
Cell distribute map.
const distributionMap & faceMap() const
Face distribute map.
void distribute(List< T > &fld, const bool dummyTransform=true, const int tag=UPstream::msgType()) const
Distribute data using default commsType.
const labelList & oldPatchStarts() const
List of the old patch start labels.
const labelList & oldPatchSizes() const
List of the old patch sizes.
Istream & operator>>(Istream &, directionInfo &)
label nOldPoints() const
Number of points in mesh before distribution.
friend Istream & operator>>(Istream &, polyDistributionMap &)
Read dictionary from Istream.
friend Ostream & operator<<(Ostream &, const polyDistributionMap &)
Write dictionary to Ostream.
label nOldFaces() const
Number of faces in mesh before distribution.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void distributeCellIndices(labelList &cellIDs) const
void distributePatchData(List< T > &lst) const
Distribute list of patch data.
void operator=(const polyDistributionMap &)
void distributeCellData(List< T > &lst) const
Distribute list of cell data.
void distributeFaceData(List< T > &lst) const
Distribute list of face data.
Class containing processor-to-processor mapping information.
Ostream & operator<<(Ostream &, const ensightPart &)
void distributePointData(List< T > &lst) const
Distribute list of point data.
Mesh consisting of general polyhedral cells.
const distributionMap & pointMap() const
Point distribute map.
void distributePatchIndices(labelList &patchIDs) const
void distributeFaceIndices(labelList &faceIDs) const
const labelList & oldPatchNMeshPoints() const
List of numbers of mesh points per old patch.