40#ifndef Foam_boundaryPatch_H
41#define Foam_boundaryPatch_H
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static autoPtr< T > New(Args &&... args)
Construct autoPtr with forwarding arguments.
boundaryPatch(const word &name, const label index, const label size, const label start, const word &physicalType=word::null)
Construct from components.
label & size() noexcept
The size of the patch (modifiable).
label & start() noexcept
The start of the patch (modifiable).
autoPtr< boundaryPatch > clone() const
Clone.
label size() const noexcept
The size of the patch.
label start() const noexcept
The start of the patch.
labelRange range() const noexcept
Return start/size range of this patch.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A range or interval of labels defined by a start and a size.
const word & physicalType() const noexcept
The (optional) physical type of the patch.
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.
static const word null
An empty word.
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).