Go to the documentation of this file.
57 Ostream&
operator<<(Ostream& os,
const cellZone& zn);
202 label
whichCell(
const label globalCellID)
const;
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.
cellZone(const cellZone &)=delete
No copy construct.
virtual autoPtr< cellZone > clone(const cellZoneMesh &zm) const
Construct and return a clone, resetting the zone mesh.
static const char *const labelsName
The name associated with the zone-labels dictionary entry.
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.
const cellZoneMesh & zoneMesh() const
Return zoneMesh reference.
void operator=(const cellZone &zn)
Assign to zone, clearing demand-driven data.
label whichCell(const label globalCellID) const
Helper function to re-direct to zone::localID(...)
const cellZoneMesh & zoneMesh_
Reference to zone list.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const word & name() const
Return name.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual ~cellZone()=default
Destructor.
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< T > > clone() const
Clone.
UList< label > labelUList
A UList of labels.
label index() const
Return the index of this zone in zone list.
declareRunTimeSelectionTable(autoPtr, cellZone, dictionary,(const word &name, const dictionary &dict, const label index, const cellZoneMesh &zm),(name, dict, index, zm))