40 #ifndef Foam_boundaryPatch_H 41 #define Foam_boundaryPatch_H 132 Ostream&
operator<<(Ostream&,
const boundaryPatch&
p);
Like polyPatch but without reference to mesh. Used in boundaryMesh to hold data on patches...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Identifies a patch by name and index, with optional physical type and group information.
autoPtr< boundaryPatch > clone() const
Clone.
A class for handling words, derived from Foam::string.
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.
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.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
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...
label index() const noexcept
The index of this patch in the boundaryMesh.
static autoPtr< T > New(Args &&... args)
Construct autoPtr with forwarding arguments.