Go to the documentation of this file.
46 geometricType_(emptyType),
54 geometricType_(emptyType),
64 const word& geometricType
67 geometricType_(geometricType),
71 if (geometricType_.empty())
73 geometricType_ = emptyType;
80 const word& geometricType,
85 geometricType_(geometricType),
89 if (geometricType_.empty())
91 geometricType_ = emptyType;
103 index_(ident.
index())
105 if (geometricType_.empty())
107 geometricType_ = emptyType;
122 if (geometricType_.empty())
124 geometricType_ = emptyType;
136 geometricType_(emptyType),
149 <<
nl << geometricType_;
155 os.
writeEntry(
"geometricType", geometricType_);
161 bool Foam::operator==
175 bool Foam::operator!=
189 is >>
p.name_ >>
p.geometricType_;
A class for handling words, derived from Foam::string.
The geometricSurfacePatch is like patchIdentifier but for surfaces. Holds type, name and index.
geometricSurfacePatch()
Construct null.
const word & name() const
Return const reference to name.
Istream & operator>>(Istream &, directionInfo &)
label index() const
Return the index of this patch/zone in the surface mesh.
Identifies a surface patch/zone by name, patch index and geometricType.
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 dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
const word & geometricType() const
Return the geometric type of the patch.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
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,...
void write(Ostream &os) const
Write.
const word & geometricType() const
Return the geometric type of the patch/zone.
static const word emptyType
The name for an 'empty' type.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
const word & name() const
Return name.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void writeDict(Ostream &os) const
Write dictionary.
defineTypeNameAndDebug(combustionModel, 0)
const word & name() const
Return name.
Ostream & operator<<(Ostream &, const boundaryPatch &)
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const