Go to the documentation of this file.
38 const word& physicalType,
44 physicalType_(physicalType),
59 dict.readIfPresent(
"physicalType", physicalType_);
60 dict.readIfPresent(
"inGroups", inGroups_);
72 physicalType_(
p.physicalType_),
73 inGroups_(
p.inGroups_)
81 return inGroups_.found(
name);
87 if (physicalType_.size())
A class for handling words, derived from Foam::string.
patchIdentifier(const word &name, const label index, const word &physicalType=word::null, const wordList &inGroups=wordList())
Construct from components.
Identifies a patch by name, patch index and physical type.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool inGroup(const word &name) const
Check if the patch is in named group.
word name(const complex &c)
Return string representation of complex.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual Ostream & writeKeyword(const keyType &kw)
Write the keyword followed by an appropriate indentation.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
void write(Ostream &os) const
Write patchIdentifier as a dictionary.
Various functions to operate on Lists.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const word & name() const
Return the patch name.
Ostream & operator<<(Ostream &, const boundaryPatch &)