94 zone(pz, addr, index),
107 zone(pz, move(addr), index),
140 const polyMesh& mesh = meshZones().mesh();
146 label pointi = operator[](i);
147 maxZone[pointi] = index();
148 minZone[pointi] = index();
161 maxZone[pointi] != -1
164 && (maxZone[pointi] != minZone[pointi])
167 if (report && !
error)
169 Info<<
" ***Problem with pointZone " << index()
170 <<
" named " <<
name()
171 <<
". Point " << pointi
172 <<
" at " << mesh.
points()[pointi]
174 << (minZone[pointi] ==
labelMax ? -1 : minZone[pointi])
175 <<
" on some processors and in zone "
177 <<
" on some other processors." <<
nl
178 <<
"(suppressing further warnings)"
235 os.
check(
"Ostream& operator<<(Ostream&, const pointZone&");
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Class to handle errors and exceptions in a simple, consistent stream-based manner.
A subset of mesh points. The labels of points in the zone can be obtained from the addressing() list.
virtual bool checkDefinition(const bool report=false) const
Check zone definition. Return true if in error.
const meshPointZones & meshZones() const
Return meshZones reference.
virtual ~pointZone()
Destructor.
void operator=(const pointZone &)
Assignment to zone, clearing demand-driven data.
static const char *const labelsName
The name associated with the zone-labels dictionary entry.
virtual void writeDict(Ostream &) const
Write dictionary.
label whichPoint(const label globalPointID) const
Helper function to re-direct to zone::localID(...)
virtual bool checkParallelSync(const bool report=false) const
Check whether zone is synchronised across coupled boundaries. Return.
pointZone(const word &name, const labelUList &addr, const label index, const meshPointZones &)
Construct from components.
Mesh consisting of general polyhedral cells.
virtual const pointField & points() const
Return raw points.
A class for handling words, derived from string.
virtual void write(Ostream &) const
Write.
virtual bool checkDefinition(const bool report=false) const =0
Check zone definition. Return true if in error.
label localID(const label globalID) const
Map storing the local index for every global index. Used to find.
void operator=(const zone &)
Assignment operator.
Template functions to aid in the implementation of demand driven data.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
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.
word name(const bool)
Return a word representation of a bool.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
defineTypeNameAndDebug(combustionModel, 0)
static const label labelMax
Ostream & operator<<(Ostream &, const ensightPart &)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)