static autoPtr< T > New(Args &&... args)
Construct autoPtr of T with forwarding arguments.
List< label > labelList
A List of labels.
static autoPtr< cellZone > New(const word &name, const dictionary &dict, const label index, const cellZoneMesh &zm)
virtual bool checkParallelSync(const bool report=false) const
Check whether zone is synchronised across coupled boundaries.
A class for handling words, derived from Foam::string.
virtual void writeDict(Ostream &os) const
Write dictionary.
const cellZoneMesh & zoneMesh() const noexcept
Return reference to the zone mesh.
virtual autoPtr< cellZone > clone(const cellZoneMesh &zm) const
Construct and return a clone, resetting the zone mesh.
static const char *const labelsName
Base class for mesh zones.
friend Ostream & operator<<(Ostream &os, const cellZone &zn)
Ostream Operator.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
TypeName("cellZone")
Runtime type information.
void operator=(const cellZone &zn)
Assign addressing, clearing demand-driven data.
label whichCell(const label globalCellID) const
Helper function to re-direct to zone::localID(...)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
label index() const noexcept
The index of this zone in the zone list.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual ~cellZone()=default
Destructor.
const word & name() const noexcept
The zone name.
virtual bool checkDefinition(const bool report=false) const
Check zone definition. Return true if in error.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
autoPtr< List< label > > clone() const
Clone.
UList< label > labelUList
A UList of labels.
declareRunTimeSelectionTable(autoPtr, cellZone, dictionary,(const word &name, const dictionary &dict, const label index, const cellZoneMesh &zm),(name, dict, index, zm))