58 size_(
dict.get<label>(
"nFaces")),
59 start_(
dict.get<label>(
"startFace"))
77 os.writeEntry(
"nFaces", size_);
78 os.writeEntry(
"startFace", start_);
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Like polyPatch but without reference to mesh. Used in boundaryMesh to hold data on patches....
boundaryPatch(const word &name, const label index, const label size, const label start, const word &physicalType=word::null)
Construct from components.
virtual void write(Ostream &os) const
Write dictionary entries (without surrounding braces).
label size() const noexcept
The size of the patch.
label start() const noexcept
The start of the patch.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const word & physicalType() const noexcept
The (optional) physical type of the patch.
void write(Ostream &os) const
Write (physicalType, inGroups) dictionary entries (without surrounding braces).
label index() const noexcept
The index of this patch in the boundaryMesh.
const word & name() const noexcept
The patch name.
patchIdentifier(const patchIdentifier &)=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.