44 #ifndef Foam_mapDistributePolyMesh_H 45 #define Foam_mapDistributePolyMesh_H 57 class mapDistributePolyMesh;
59 Istream&
operator>>(Istream&, mapDistributePolyMesh&);
60 Ostream&
operator<<(Ostream&,
const mapDistributePolyMesh&);
105 void calcPatchSizes();
160 const bool subFaceHasFlip =
false,
161 const bool constructFaceHasFlip =
false 210 return oldPatchSizes_;
216 return oldPatchStarts_;
222 return oldPatchNMeshPoints_;
357 Ostream& operator<<(Ostream& os, const InfoProxy<mapDistributePolyMesh>& ip);
friend Ostream & operator<<(Ostream &, const mapDistributePolyMesh &)
Write plain content (not dictionary) to Ostream.
void writePointMapEntries(Ostream &os) const
Write pointMap entries in dictionary format.
void distributeCellIndices(labelList &cellIDs) const
const labelList & oldPatchSizes() const noexcept
List of the old patch sizes.
void distributePatchIndices(labelList &patchIDs) const
A list of keyword definitions, which are a keyword followed by a number of values (eg...
label nOldCells() const noexcept
Number of cells in mesh before distribution.
void distribute(List< T > &fld, const bool dummyTransform=true, const int tag=UPstream::msgType()) const
Distribute data using default commsType.
void operator=(const mapDistributePolyMesh &map)
Copy assignment.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void writeEntries(Ostream &os) const
Write all map entries in dictionary format.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
void clear()
Reset to zero size, only retaining communicator(s)
static label worldComm
Default world communicator (all processors). May differ from globalComm if local worlds are in use...
mapDistributePolyMesh()
Default construct - uses worldComm.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const labelList & oldPatchStarts() const noexcept
List of the old patch start labels.
void distributeFaceData(List< T > &values) const
Distribute list of face data.
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
List of values from HashTable, optionally sorted.
label nOldPoints() const noexcept
Number of points in mesh before distribution.
const mapDistribute & pointMap() const noexcept
Point distribute map.
void transfer(mapDistributePolyMesh &map)
Transfer the contents of the argument and annul the argument.
void writeCellMapEntries(Ostream &os) const
Write cellMap in dictionary format.
label nOldFaces() const noexcept
Number of faces in mesh before distribution.
Istream & operator>>(Istream &, directionInfo &)
void writeFaceMapEntries(Ostream &os) const
Write faceMap in dictionary format.
void distributeCellData(List< T > &values) const
Distribute list of cell data.
const mapDistribute & cellMap() const noexcept
Cell distribute map.
InfoProxy< mapDistributePolyMesh > info() const
Info proxy to print summary information to a stream.
friend Istream & operator>>(Istream &, mapDistributePolyMesh &)
Read plain content (not dictionary) from Istream.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
void writePatchMapEntries(Ostream &os) const
Write patchMap in dictionary format.
void distributeFaceIndices(labelList &faceIDs) const
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
void distributePointData(List< T > &values) const
Distribute list of point data.
Class containing processor-to-processor mapping information.
A helper class for outputting values to Ostream.
const labelList & oldPatchNMeshPoints() const noexcept
List of numbers of mesh points per old patch.
void distributePointIndices(labelList &pointIDs) const
Distribute list of point/face/cell/patch indices.
const mapDistribute & patchMap() const noexcept
Patch distribute map.
Mesh consisting of general polyhedral cells.
void updateMesh(const mapPolyMesh &)
No correction for topo change.
void distributePatchData(List< T > &values) const
Distribute list of patch data.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
const mapDistribute & faceMap() const noexcept
Face distribute map.
void readDict(const dictionary &dict)
Read entries from dictionary format.