55 const word& geometricType
72 size_(
dict.get<label>(
"nFaces")),
73 start_(
dict.get<label>(
"startFace"))
85 os.writeEntry(
"nFaces", size());
86 os.writeEntry(
"startFace", start());
102 this->geometricType()
111 const surfacePatch& a,
112 const surfacePatch&
b
117 (a.size() ==
b.size())
118 && (a.start() ==
b.start())
119 && (a.geometricType() ==
b.geometricType())
126 const surfacePatch& a,
127 const surfacePatch&
b
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Identifies a surface patch/zone by name and index, with geometric type.
const word & geometricType() const noexcept
The geometric type of the patch/zone.
void write(Ostream &os) const
Write (geometricType) dictionary entry (without surrounding braces).
label index() const noexcept
The index of this patch/zone in the surface mesh.
const word & name() const noexcept
The patch/zone name.
geometricSurfacePatch(const geometricSurfacePatch &)=default
Copy construct.
A surface zone on a MeshedSurface.
A 'patch' on surface as subset of triSurface.
surfacePatch()
Default construct, with zero start, size, index=-1.
void write(Ostream &os) const
Write dictionary, includes surrounding braces.
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.
surfacePatch(const surfacePatch &)=default
Copy construct.
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 expressions::valueTypeCode::INVALID.