72 mutable std::unique_ptr<Map<label>> lookupMapPtr_;
111 const word& labelsName,
118 const zone& originalZone,
127 const zone& originalZone,
137 const zone& originalZone,
145 virtual ~zone() =
default;
155 label
localID(
const label globalID)
const;
160 return static_cast<const labelList&
>(*this);
177 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.
zoneIdentifier(const zoneIdentifier &)=default
Copy construct.
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.
friend Ostream & operator<<(Ostream &os, const zone &zn)
Ostream Operator.
virtual void movePoints(const pointField &)
Corrections after moving points.
virtual bool checkDefinition(const bool report=false) const =0
Check zone definition. Return true if in error.
TypeNameNoDebug("zone")
Runtime type information.
virtual void clearPrimitives()
Clear primitive addressing.
virtual ~zone()=default
Destructor.
label localID(const label globalID) const
Lookup local address in zone for given global index.
zone()
Default construct: empty zone with name="", index=0.
const labelList & addressing() const noexcept
The addressing used by the zone.
virtual void clearAddressing()
Clear addressing (remove lookup maps and other auxiliary information).
OBJstream os(runTime.globalPath()/outputName)
List< label > labelList
A List of labels.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
vectorField pointField
pointField is a vectorField.
UList< label > labelUList
A UList of labels.
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...
#define TypeNameNoDebug(TypeNameString)
Declare a ClassNameNoDebug() with extra virtual type info.