43 geometricType_(
"empty"),
52 const word& geometricType,
57 geometricType_(geometricType),
62 if (geometricType_.empty())
64 geometricType_ =
"empty";
76 if (geometricType_.empty())
78 geometricType_ =
"empty";
91 geometricType_(dict.
lookup(
"geometricType")),
95 if (geometricType_.empty())
97 geometricType_ =
"empty";
108 <<
nl << geometricType_;
114 os <<
" geometricType " << geometricType_ <<
';' <<
nl;
123 return !(*
this ==
p);
142 is >> gp.name_ >> gp.geometricType_;
153 "Ostream& operator<<(Ostream& f, const geometricSurfacePatch& gp)" friend Istream & operator>>(Istream &, geometricSurfacePatch &)
const word & name() const
Return name.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool check(const char *operation) const
Check IOstream status for given operation.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const word & geometricType() const
Return the type of the patch.
geometricSurfacePatch()
Construct null.
friend Ostream & operator<<(Ostream &, const geometricSurfacePatch &)
A class for handling words, derived from string.
void write(Ostream &) const
Write.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
defineTypeNameAndDebug(combustionModel, 0)
The geometricSurfacePatch is like patchIdentifier but for surfaces. Holds type, name and index...
bool operator==(const geometricSurfacePatch &) const
compare.
bool operator!=(const geometricSurfacePatch &) const
void writeDict(Ostream &) const
Write dictionary.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.