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_;
110 const MeshType&
mesh()
const
127 void append(ZoneType*)
const;
130 void append(
const ZoneType&)
const;
162 void swap(ZonesType&);
192 friend Ostream& operator<< <ZoneType, ZonesType, MeshType>
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
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.
void append(ZoneType *) const
Append or update a zone.
bool checkDefinition(const bool report=false) const
Check zone definition. Return true if in error.
void insert(const List< labelHashSet > &zonesIndices)
Insert given indices into zones.
virtual bool writeData(Ostream &) const
writeData member function required by regIOobject
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.
wordList types() const
Return a list of zone types.
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.
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.
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.
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.
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)