52 class polyTopoChangeMap;
54 class polyDistributionMap;
56 template<
class ZoneType,
class ZonesType>
class Zone;
58 template<
class ZoneType,
class ZonesType>
65 template<
class ZoneType,
class ZonesType>
100 void select(
const Type& zone);
118 const ZonesType&
zones,
128 const ZonesType&
zones,
138 const ZonesType&
zones
148 const ZonesType&
zones
158 const ZonesType&
zones
184 const ZonesType&
zones()
const;
215 const bool report =
false
253 friend Ostream& operator<< <ZoneType, ZonesType>
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const Map< label > & lookupMap() const
Return a reference to the look-up map.
void swap(Zone &)
Swap two zones.
void topoChange(const labelList &map, const labelList &reverseMap)
Update the addressing using the maps provided.
bool checkDefinition(const label maxSize, const bool report=false) const
Check zone definition with max size given. Return true if in error.
void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
label localIndex(const label globalIndex) const
Map storing the local index for every global index. Used to find.
const word & keyword() const
Return name as the keyword.
void calcLookupMap() const
Construct the look-up map.
Map< label > * lookupMapPtr_
Map of labels in zone for fast location lookup.
void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
bool topoUpdate_
Flag indicating the zone is updated by the generator.
bool topoUpdate() const
Flag indicating the zone is updated by the generator.
void insert(const labelHashSet &newIndices)
Insert given indices into zone.
void clearAddressing()
Clear addressing.
Zone(const word &name, const labelUList &indices, const ZonesType &zones, const bool moveUpdate=false, const bool topoUpdate=false)
Construct from components.
void movePoints(const pointField &)
Correct patch after moving points.
void select(const Type &zone)
Select the.
const word & name() const
Return name.
bool moveUpdate_
Flag indicating the zone is updated by the generator.
void operator=(const Zone &)
Assignment operator.
bool moveUpdate() const
Flag indicating the zone is updated by the generator.
const ZonesType & zones_
Reference to zone list.
const ZonesType & zones() const
Return ZonesType reference.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
A class for handling words, derived from string.
Macro definitions for declaring ClassName(), NamespaceName(), etc.
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)