53 template<
class ZoneType,
class MeshType>
class MeshZones;
55 template<
class ZoneType,
class MeshType>
62 template<
class ZoneType,
class MeshType>
71 const MeshType& mesh_;
87 void calcZoneMap()
const;
131 const MeshType&
mesh()
const
196 friend Ostream& operator<< <ZoneType, MeshType>
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
bool checkDefinition(const bool report=false) const
Check zone definition. Return true if in error.
label findZoneID(const word &zoneName) const
Find zone index given a name.
bool writeData(Ostream &) const
writeData member function required by regIOobject
wordList types() const
Return a list of zone types.
labelList findIndices(const wordRe &) const
Return zone indices for all matches.
const ZoneType & operator[](const word &) const
Return const reference to ZoneType by name.
const Map< label > & zoneMap() const
Map of zones containing zone index for all zoned elements.
void clearAddressing()
Clear addressing.
void movePoints(const pointField &)
Correct zones after moving points.
const MeshType & mesh() const
Return the mesh reference.
label findIndex(const wordRe &) const
Return zone index for the first match, return -1 if not found.
void clear()
Clear the zones.
label whichZone(const label objectIndex) const
Given a global object index, return the zone it is in.
wordList names() const
Return a list of zone names.
bool checkParallelSync(const bool report=false) const
Check whether all procs have all zones and in same order. Return.
MeshZones(const IOobject &, const MeshType &)
Read constructor given IOobject and a MeshType reference.
PackedBoolList findMatching(const wordRe &) const
Mark cells that match the zone specification.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
label size() const
Return the number of elements in the UPtrList.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
A wordRe is a word, but can also have a regular expression for matching words.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & operator<<(Ostream &, const ensightPart &)