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