Go to the documentation of this file.
89 const word& geometricType
94 geometricType_(geometricType)
121 geometricType_(
p.geometricType())
129 if (geometricType_.size())
131 os.
writeEntry(
"geometricType", geometricType_);
138 bool Foam::operator==
153 bool Foam::operator!=
void write(Ostream &os) const
A class for handling words, derived from Foam::string.
const string & stringToken() const
Return const reference to the string contents.
virtual Ostream & writeQuoted(const std::string &str, const bool quoted=true)=0
Write std::string surrounded by quotes.
static word readOptionalWord(Istream &is)
const word & name() const
Return const reference to name.
static word validate(const std::string &s, const bool prefix=false)
Construct validated word (no invalid characters).
Istream & operator>>(Istream &, directionInfo &)
A token holds an item read from Istream.
label index() const
The index of this patch/zone in the surface mesh.
Identifies a surface patch/zone by name, patch index and geometricType.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
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,...
bool isWord() const
Token is WORD or DIRECTIVE word.
const word & wordToken() const
Return const reference to the word contents.
surfZoneIdentifier()
Default construct, with index zero.
const word & geometricType() const
The geometric type of the patch/zone.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
const word & name() const
The patch/zone name.
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