37 mapDistribute::readDict(
dict);
63 transformElements_.clear();
64 transformStart_.clear();
73 if (transformElements_.size())
91 >> map.transformElements_ >> map.transformStart_;
99 os << static_cast<const mapDistributeBase&>(map) <<
token::NL 101 << map.transformStart_;
void writeEntries(Ostream &os) const
Write entries in dictionary format.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
constexpr char nl
The newline '\n' character (0x0a)
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
void readDict(const dictionary &dict)
Read entries from dictionary format.
Istream & operator>>(Istream &, directionInfo &)
virtual Ostream & endBlock()
Write end block group.
Class containing processor-to-processor mapping information.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const
Find an entry if present, and assign to T val. FatalIOError if it is found and the number of tokens i...
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
void readDict(const dictionary &dict)
Read entries from dictionary format.
Class containing processor-to-processor mapping information.
bool fatalCheck(const char *operation) const
Check IOstream status for given operation.
virtual Ostream & beginBlock(const keyType &kw)
Write begin block group with the given name.
mapDistribute() noexcept
Default construct - uses worldComm.
void writeEntries(Ostream &os) const
Write entries in dictionary format.
const dictionary * findDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary pointer if present (and a sub-dictionary) otherwise return nullptr...