static autoPtr< T > New(Args &&... args)
Construct autoPtr of T with forwarding arguments.
A class for handling words, derived from Foam::string.
virtual autoPtr< pointZone > clone(const pointZoneMesh &zm) const
Construct and return a clone, resetting the zone mesh.
Base class for mesh zones.
void operator=(const pointZone &zn)
Assign addressing, clearing demand-driven data.
virtual bool checkParallelSync(const bool report=false) const
Check whether zone is synchronised across coupled boundaries.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
const pointZoneMesh & zoneMesh() const noexcept
Return reference to the zone mesh.
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.
label whichPoint(const label globalPointID) const
Helper function to re-direct to zone::localID(...)
virtual ~pointZone()=default
Destructor.
const word & name() const noexcept
The zone name.
static autoPtr< pointZone > New(const word &name, const dictionary &dict, const label index, const pointZoneMesh &zm)
Return a pointer to a new point zone.
static const char *const labelsName
declareRunTimeSelectionTable(autoPtr, pointZone, dictionary,(const word &name, const dictionary &dict, const label index, const pointZoneMesh &zm),(name, dict, index, zm))
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
autoPtr< List< label > > clone() const
Clone.
virtual void movePoints(const pointField &)
Correct patch after moving points.
TypeName("pointZone")
Runtime type information.
virtual bool checkDefinition(const bool report=false) const
Check zone definition. Return true if in error.
virtual void writeDict(Ostream &os) const
Write dictionary.
friend Ostream & operator<<(Ostream &os, const pointZone &zn)
Ostream Operator.