41 mapDistributePolyMesh::readDict(
dict);
60 cellMap_.readDict(subdict);
68 faceMap_.readDict(subdict);
75 subdict.
readEntry(
"oldSize", nOldPoints_);
76 pointMap_.readDict(subdict);
83 subdict.
readEntry(
"oldSizes", oldPatchSizes_);
84 subdict.
readEntry(
"oldStarts", oldPatchStarts_);
85 subdict.
readEntry(
"oldPointSizes", oldPatchNMeshPoints_);
86 patchMap_.readDict(subdict);
95 cellMap_.writeEntries(
os);
104 faceMap_.writeEntries(
os);
113 pointMap_.writeEntries(
os);
124 patchMap_.writeEntries(
os);
131 writeCellMapEntries(
os);
134 writeFaceMapEntries(
os);
137 writePointMapEntries(
os);
140 writePatchMapEntries(
os);
150 is >> map.nOldPoints_
154 >> map.oldPatchSizes_
155 >> map.oldPatchStarts_
156 >> map.oldPatchNMeshPoints_
193 const auto& map = ip.t_;
197 os << map.cellMap().
info();
202 os << map.faceMap().
info();
207 os << map.pointMap().
info();
bool fatalCheck(const char *operation) const
Check IOstream status for given operation.
InfoProxy< IOstream > info() const
Return info proxy.
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,...
virtual Ostream & endBlock()
Write end block group.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
virtual Ostream & beginBlock(const keyType &kw)
Write begin block group with the given name.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
void writeFaceMapEntries(Ostream &os) const
Write faceMap in dictionary format.
void writePointMapEntries(Ostream &os) const
Write pointMap entries in dictionary format.
void readDict(const dictionary &dict)
Read entries from dictionary format.
void writeEntries(Ostream &os) const
Write all map entries in dictionary format.
mapDistributePolyMesh()
Default construct - uses worldComm.
void writeCellMapEntries(Ostream &os) const
Write cellMap in dictionary format.
void writePatchMapEntries(Ostream &os) const
Write patchMap in dictionary format.
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Istream & operator>>(Istream &, directionInfo &)
constexpr char nl
The newline '\n' character (0x0a)