Go to the documentation of this file.
110 const word& labelsName,
118 const zone& origZone,
127 const zone& origZone,
144 label
localID(
const label globalID)
const;
150 return static_cast<const labelList&
>(*this);
164 const bool report =
false
virtual void writeDict(Ostream &os) const =0
Write dictionary.
A class for handling words, derived from Foam::string.
TypeName("zone")
Runtime type information.
Base class for mesh zones.
virtual void clearAddressing()
Clear addressing.
friend Ostream & operator<<(Ostream &os, const zone &zn)
Ostream Operator.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
virtual void write(Ostream &os) const
Write.
const Map< label > & lookupMap() const
Demand-driven: the look-up map from global to local id.
virtual ~zone()
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
virtual void movePoints(const pointField &pts)
Correct patch after moving points.
label index() const noexcept
The index of this zone in the zone list.
const word & name() const noexcept
The zone name.
label localID(const label globalID) const
Lookup local address in zone for given global index.
Identifies a mesh zone by name and index, with optional physical type and group information.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const labelList & addressing() const noexcept
The addressing used by the zone.
virtual bool checkDefinition(const bool report=false) const =0
Check zone definition. Return true if in error.