54 class polyTopoChangeMap;
56 class polyDistributionMap;
58 template<
class ZoneType,
class ZonesType,
class MeshType>
class ZoneList;
60 template<
class ZoneType,
class ZonesType,
class MeshType>
67 template<
class ZoneType,
class ZonesType,
class MeshType>
76 const MeshType& mesh_;
79 mutable label timeIndex_;
118 const MeshType&
mesh()
const
146 const bool warnNotFound =
true
150 const ZoneType&
append(ZoneType*)
const;
153 const ZoneType&
append(
const ZoneType&)
const;
189 void swap(ZonesType&);
209 const ZoneType&
all()
const;
228 friend Ostream& operator<< <ZoneType, ZonesType, MeshType>
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const word & name() const
Return name.
streamFormat
Enumeration for the format of data in the stream.
compressionType
Enumeration for the format of data in the stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Template dictionary class which manages the storage associated with it.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
bool checkDefinition(const bool report=false) const
Check zone definition. Return true if in error.
const ZoneType & all() const
Return const reference to the all zone.
void insert(const List< labelHashSet > &zonesIndices)
Insert given indices into zones.
virtual bool writeData(Ostream &) const
writeData member function required by regIOobject
const ZoneType & append(ZoneType *) const
Append or update a zone.
bool found(const label objectIndex) const
Return true if objectIndex is in any zone.
ZoneList(const IOobject &, const MeshType &)
Read constructor given IOobject and a MeshType reference.
bool noTopoUpdate() const
Return true if any of the zones were not updated by zoneGenerators.
bool readIfPresent()
Read zones if the zones file is present.
virtual bool writeObject(IOstream::streamFormat, IOstream::versionNumber, IOstream::compressionType, const bool write) const
Write using given format, version and compression.
labelList whichZones(const label objectIndex) const
Given a global object index, return the list of zones it is in.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
labelHashSet zoneSet(const UList< wordRe > &zoneNames, const bool warnNotFound=true) const
Return the set of zone indices corresponding to the given names.
void swap(ZonesType &)
Swap zones.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
void clearAddressing()
Clear addressing.
void operator=(const ZoneList< ZoneType, ZonesType, MeshType > &)=delete
Disallow default bitwise assignment.
virtual void movePoints(const pointField &)
Correct zones after moving points.
const MeshType & mesh() const
Return the mesh reference.
void clear()
Clear the zones.
const ZoneType & operator[](const word &name) const
Return const reference to ZoneType by name.
bool checkParallelSync(const bool report=false) const
Check whether all procs have all zones and in same order. Return.
virtual void topoChange(const polyTopoChangeMap &map)
Update topology using the given map.
const ZoneType * lookupPtr(const word &name) const
Return const reference to ZoneType by name.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
virtual bool write(const bool write=true) const
Write using setting from DB.
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 &os, const fvConstraints &constraints)