51 class polyTopoChangeMap;
53 class polyDistributionMap;
55 template<
class ZoneType,
class ZonesType>
class Zone;
57 template<
class ZoneType,
class ZonesType>
64 template<
class ZoneType,
class ZonesType>
91 void select(
const Type& zone);
125 const ZonesType&
zones
133 const ZonesType&
zones
141 const ZonesType&
zones
150 const ZonesType&
zones
159 const ZonesType&
zones
197 const ZonesType&
zones()
const;
214 const bool report =
false
258 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.
Zone(const word &name, const labelUList &indices, const ZonesType &zones)
Construct from components.
virtual void writeDict(Ostream &) const =0
Write dictionary.
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.
virtual void movePoints(const pointField &)
Correct patch after moving points.
virtual 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.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
virtual ~Zone()
Destructor.
void insert(const labelHashSet &newIndices)
Insert given indices into zone.
virtual void clearAddressing()
Clear addressing.
void select(const Type &zone)
Select the.
static autoPtr< ZoneType > New(const word &name, const dictionary &, const ZonesType &)
Return a pointer to a new cell zone.
const word & name() const
Return name.
void operator=(const Zone &)
Assignment operator.
declareRunTimeSelectionTable(autoPtr, ZoneType, dictionary,(const word &name, const dictionary &dict, const ZonesType &mz),(name, dict, mz))
const ZonesType & zones_
Reference to zone list.
const ZonesType & zones() const
Return ZonesType reference.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
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.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
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)
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...