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