58 const label index = zones_.findIndex(
name());
64 const label pointi = operator[](i);
65 maxZone[pointi] = index;
66 minZone[pointi] = index;
82 && (maxZone[pointi] != minZone[pointi])
87 Info<<
" ***Problem with pointZone " <<
name()
88 <<
". Point " << pointi
91 << (minZone[pointi] ==
labelMax ? -1 : minZone[pointi])
92 <<
" on some processors and in zone "
94 <<
" on some other processors." <<
nl
95 <<
"(suppressing further warnings)"
#define forAll(list, i)
Loop across all elements in list.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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.
const pointZoneList & zones_
Reference to zone list.
Class to handle errors and exceptions in a simple, consistent stream-based manner.
const polyMesh & mesh() const
Return reference to polyMesh.
label allSize() const
Return number of points in the mesh.
Named list of point indices representing a sub-set of the mesh faces.
bool checkDefinition(const bool report=false) const
Check zone definition. Return true if in error.
static const char *const labelsName
The name associated with the zone-labels dictionary entry.
void writeDict(Ostream &) const
Write dictionary.
bool checkParallelSync(const bool report=false) const
Check whether zone is synchronised across coupled boundaries. Return.
void topoChange(const polyTopoChangeMap &map)
Update zone using the given map.
Mesh consisting of general polyhedral cells.
virtual const pointField & points() const
Return raw points.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const labelList & reversePointMap() const
Reverse point map.
const labelList & pointMap() const
Old point map.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
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 & endl(Ostream &os)
Add newline and flush stream.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
defineTypeNameAndDebug(combustionModel, 0)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
static const label labelMax