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 &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const word & geometricType() const
Return the type of the patch.
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
virtual bool check(const char *operation) const
Check IOstream status for given operation.
geometricSurfacePatch()
Construct null.
friend Ostream & operator<<(Ostream &, const geometricSurfacePatch &)
A class for handling words, derived from string.
void write(Ostream &) const
Write.
const word & name() const
Return name.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
bool operator==(const geometricSurfacePatch &) const
compare.
defineTypeNameAndDebug(combustionModel, 0)
void writeDict(Ostream &) const
Write dictionary.
bool operator!=(const geometricSurfacePatch &) const
The geometricSurfacePatch is like patchIdentifier but for surfaces. Holds type, name and index...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.