Go to the documentation of this file.
40 #ifndef boundaryPatch_H
41 #define boundaryPatch_H
132 Ostream&
operator<<(Ostream&,
const boundaryPatch&
p);
static autoPtr< T > New(Args &&... args)
Construct autoPtr of T with forwarding arguments.
A class for handling words, derived from Foam::string.
autoPtr< boundaryPatch > clone() const
Clone.
Like polyPatch but without reference to mesh. Used in boundaryMesh to hold data on patches....
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Identifies a patch by name and index, with optional physical type and group information.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
boundaryPatch(const word &name, const label index, const label size, const label start, const word &physicalType=word::null)
Construct from components.
label index() const noexcept
The index of this patch in the boundaryMesh.
virtual void write(Ostream &os) const
Write dictionary entries (without surrounding braces)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static const word null
An empty word.
const word & name() const noexcept
The patch name.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const word & physicalType() const noexcept
The (optional) physical type of the patch.