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