Go to the documentation of this file.
55 const word& physicalType,
61 physicalType_(physicalType),
75 dict.readIfPresent(
"physicalType", physicalType_);
76 dict.readIfPresent(
"inGroups", inGroups_);
88 physicalType_(ident.physicalType_),
89 inGroups_(ident.inGroups_)
97 if (!physicalType_.empty())
99 os.writeEntry(
"physicalType", physicalType_);
102 if (!inGroups_.empty())
104 os.writeKeyword(
"inGroups");
A class for handling words, derived from Foam::string.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
@ END_STATEMENT
End entry [isseparator].
virtual bool check(const char *operation) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
virtual bool write(const token &tok)=0
virtual Ostream & writeKeyword(const keyType &kw)
void write(Ostream &os) const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Identifies a mesh zone by name and index, with optional physical type and group information.
Ostream & writeEntry(const keyType &key, const T &value)
word name(const expressions::valueTypeCode typeCode)
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