215 label
whichPoint(
const label globalPointID)
const;
autoPtr< List< label > > clone() const
Clone.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool checkDefinition(const bool report=false) const
Check zone definition. Return true if in error.
declareRunTimeSelectionTable(autoPtr, pointZone, dictionary,(const word &name, const dictionary &dict, const label index, const pointZoneMesh &zm),(name, dict, index, zm))
virtual autoPtr< pointZone > clone(const pointZoneMesh &zm) const
Construct and return a clone, resetting the zone mesh.
virtual void movePoints(const pointField &)
Correct patch after moving points.
TypeName("pointZone")
Runtime type information.
const pointZoneMesh & zoneMesh() const noexcept
Return reference to the zone mesh.
static const char *const labelsName
virtual autoPtr< pointZone > clone(const pointZoneMesh &zm, const label index, const labelUList &addr) const
virtual void writeDict(Ostream &os) const
Write dictionary.
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.
friend Ostream & operator<<(Ostream &os, const pointZone &zn)
Ostream Operator.
label whichPoint(const label globalPointID) const
Helper function to re-direct to zone::localID(...)
virtual bool checkParallelSync(const bool report=false) const
Check whether zone is synchronised across coupled boundaries.
virtual ~pointZone()=default
Destructor.
A class for handling words, derived from Foam::string.
label index() const noexcept
The index of this zone in the zone list.
const word & name() const noexcept
The zone name.
Base class for mesh zones.
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.