55 const word& geometricType
72 size_(
dict.get<label>(
"nFaces")),
73 start_(
dict.get<label>(
"startFace"))
102 this->geometricType()
118 && (a.
start() ==
b.start())
138 os << static_cast<const geometricSurfacePatch&>(obj) <<
token::SPACE
virtual bool check(const char *operation) const
Check IOstream status for given operation.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual Ostream & endBlock()
Write end block group.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
virtual Ostream & beginBlock(const keyType &kw)
Write begin block group with the given name.
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
friend Ostream & operator(Ostream &, const faMatrix< Type > &)
virtual bool write()
Write the output fields.
Identifies a surface patch/zone by name and index, with geometric type.
const word & geometricType() const noexcept
The geometric type of the patch/zone.
A surface zone on a MeshedSurface.
A 'patch' on surface as subset of triSurface.
surfacePatch()
Default construct, with zero start, size, index=-1.
label size() const noexcept
Return size of this patch in the face list.
label start() const noexcept
Return start label of this patch in the face list.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.