Go to the documentation of this file.
58 Ostream&
operator<<(Ostream& os,
const zone& zn);
129 const word& labelsName,
137 const zone& origZone,
146 const zone& origZone,
167 label
localID(
const label globalID)
const;
188 const bool report =
false
virtual void writeDict(Ostream &os) const =0
Write dictionary.
A class for handling words, derived from Foam::string.
void calcLookupMap() const
Construct the look-up map.
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
Return a reference to the look-up map.
virtual ~zone()
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const word & name() const
Return name.
virtual void movePoints(const pointField &pts)
Correct patch after moving points.
Map< label > * lookupMapPtr_
Map of labels in zone for fast location lookup.
label localID(const label globalID) const
Map storing the local index for every global index. Used to find.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
label index() const
Return the index of this zone in zone list.
label index_
Index of zone.
virtual bool checkDefinition(const bool report=false) const =0
Check zone definition. Return true if in error.