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, patch index and physical type.
const word & physicalType() const
The (optional) physical type of the patch.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
boundaryPatch(const word &name, const label index, const label size, const label start, const word &physicalType=word::null)
Construct from components.
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.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const word & name() const
The patch name.
label index() const
The index of this patch in the boundaryMesh.