Go to the documentation of this file.
55 const word& geometricType
72 size_(
dict.
get<label>(
"nFaces")),
73 start_(
dict.
get<label>(
"startFace"))
102 this->geometricType()
109 bool Foam::operator==
117 (a.
size() ==
b.size())
118 && (a.
start() ==
b.start())
124 bool Foam::operator!=
138 os << static_cast<const geometricSurfacePatch&>(obj) <<
token::SPACE
A class for handling words, derived from Foam::string.
Identifies a surface patch/zone by name and index, with geometric type.
virtual Ostream & beginBlock(const keyType &kw)
Write begin block group with the given name.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
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].
label size() const noexcept
Return size of this patch in the face list.
virtual Ostream & endBlock()
Write end block group.
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,...
OBJstream os(runTime.globalPath()/outputName)
void write(Ostream &os) const
A 'patch' on surface as subset of triSurface.
A surface zone on a MeshedSurface.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
const word & geometricType() const noexcept
The geometric type of the patch/zone.
void write(Ostream &os) const
Write dictionary, includes surrounding braces.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
surfacePatch()
Default construct, with zero start, size, index=-1.
label start() const noexcept
Return start label of this patch in the face list.