81 actualTypeName_(
pp.actualTypeName_),
96 actualTypeName_(
pp.actualTypeName_),
111 actualTypeName_(
pp.actualTypeName_),
126 return actualTypeName_;
132 os.writeEntry(
"type", actualTypeName_);
134 os.writeEntry(
"nFaces", size());
135 os.writeEntry(
"startFace", start());
137 for (
const entry&
e : dict_)
139 const word& key =
e.keyword();
146 && key !=
"startFace"
147 && key !=
"physicalType"
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool get(const label i) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A keyword and a list of tokens is an 'entry'.
Substitute for unknown patches. Used for postprocessing when only basic polyPatch info is needed or i...
virtual void write(Ostream &) const
Write the polyPatch data as a dictionary.
const word & actualType() const
Return the actual type.
~genericPolyPatch()
Destructor.
genericPolyPatch(const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType)
Construct from components.
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.
A polyBoundaryMesh is a polyPatch list with registered IO, a reference to the associated polyMesh,...
A patch is a list of labels that address the faces in the global face list.
friend class polyBoundaryMesh
polyPatch(const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType)
Construct from components.
label start() const noexcept
Return start label of this patch in the polyMesh face list.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
OBJstream os(runTime.globalPath()/outputName)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
UList< label > labelUList
A UList of labels.