Go to the documentation of this file.
53 template<
class ZoneType,
class MeshType>
class ZoneMesh;
55 template<
class ZoneType,
class MeshType>
56 Ostream&
operator<<(Ostream&,
const ZoneMesh<ZoneType, MeshType>&);
62 template<
class ZoneType,
class MeshType>
65 public PtrList<ZoneType>,
71 const MeshType&
mesh_;
128 const MeshType&
mesh()
const
192 friend Ostream& operator<< <ZoneType, MeshType>
const Map< label > & zoneMap() const
Map of zones containing zone index for all zoned elements.
bool checkDefinition(const bool report=false) const
Check zone definition. Return true if in error.
void clear()
Clear the zones.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
label findIndex(const keyType &) const
Return zone index for the first match, return -1 if not found.
A class for handling words, derived from string.
const MeshType & mesh() const
Return the mesh reference.
void operator=(const ZoneMesh< ZoneType, MeshType > &)
Disallow assignment.
bool read()
Read if IOobject flags set. Return true if read.
ZoneMesh(const ZoneMesh &)
Disallow construct as copy.
A class for handling keywords in dictionaries.
const ZoneType & operator[](const word &) const
Return const reference to ZoneType by name.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
void movePoints(const pointField &)
Correct zone mesh after moving points.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
const MeshType & mesh_
Reference to mesh.
Ostream & operator<<(Ostream &, const edgeMesh &)
label whichZone(const label objectIndex) const
Given a global object index, return the zone it is in.
PackedBoolList findMatching(const keyType &) const
Mark cells that match the zone specification.
void calcZoneMap() const
Create zone map.
label findZoneID(const word &zoneName) const
Find zone index given a name.
wordList names() const
Return a list of zone names.
labelList findIndices(const keyType &) const
Return zone indices for all matches.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
bool writeData(Ostream &) const
writeData member function required by regIOobject
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void clearAddressing()
Clear addressing.
bool checkParallelSync(const bool report=false) const
Check whether all procs have all zones and in same order. Return.
Map< label > * zoneMapPtr_
Map of zone labels for given element.
wordList types() const
Return a list of zone types.