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 clearAddressing()
Clear addressing.
label localID(const label globalID) const
Lookup local address in zone for given global index.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void writeDict(Ostream &os) const =0
Write dictionary.
TypeName("zone")
Runtime type information.
virtual ~zone()
Destructor.
Base class for mesh zones.
A class for handling words, derived from Foam::string.
virtual bool checkDefinition(const bool report=false) const =0
Check zone definition. Return true if in error.
virtual void movePoints(const pointField &pts)
Correct patch after moving points.
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.
friend Ostream & operator<<(Ostream &os, const zone &zn)
Ostream Operator.
OBJstream os(runTime.globalPath()/outputName)
virtual void write(Ostream &os) const
Write.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Identifies a mesh zone by name and index, with optional physical type and group information.
const Map< label > & lookupMap() const
Demand-driven: the look-up map from global to local id.
const word & name() const noexcept
The zone name.
const labelList & addressing() const noexcept
The addressing used by the zone.