Go to the documentation of this file.
44 #ifndef genericPolyPatch_H
45 #define genericPolyPatch_H
64 const word actualTypeName_;
A class for handling words, derived from Foam::string.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
TypeName("genericPatch")
Runtime type information.
Substitute for unknown patches. Used for postprocessing when only basic polyPatch info is needed or i...
genericPolyPatch(const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType)
Construct from components.
A patch is a list of labels that address the faces in the global face list.
const word & actualType() const
Return the actual type.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
label index() const noexcept
The index of this patch in the boundaryMesh.
label start() const
Return start label of this patch in the polyMesh face list.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual autoPtr< polyPatch > clone(const polyBoundaryMesh &bm) const
Construct and return a clone, resetting the boundary mesh.
const word & name() const noexcept
The patch name.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void write(Ostream &) const
Write the polyPatch data as a dictionary.
~genericPolyPatch()
Destructor.