55 zone(name, addr, index),
68 zone(name, move(addr), index),
81 zone(name, dict, this->labelsName, index),
94 zone(pz, addr, index),
107 zone(pz, move(addr), index),
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&");
pointZone(const word &name, const labelUList &addr, const label index, const meshPointZones &)
Construct from components.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
label localID(const label globalID) const
Map storing the local index for every global index. Used to find.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool check(const char *operation) const
Check IOstream status for given operation.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual bool checkDefinition(const bool report=false) const
Check zone definition. Return true if in error.
const meshPointZones & meshZones() const
Return meshZones reference.
void operator=(const pointZone &)
Assignment to zone, clearing demand-driven data.
Macros for easy insertion into run-time selection tables.
virtual const pointField & points() const
Return raw points.
Class to handle errors and exceptions in a simple, consistent stream-based manner.
A class for handling words, derived from string.
virtual bool checkDefinition(const bool report=false) const =0
Check zone definition. Return true if in error.
static const label labelMax
virtual bool checkParallelSync(const bool report=false) const
Check whether zone is synchronised across coupled boundaries. Return.
label whichPoint(const label globalPointID) const
Helper function to re-direct to zone::localID(...)
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
static const char *const labelsName
The name associated with the zone-labels dictionary entry.
word name(const complex &)
Return a string representation of a complex.
Template functions to aid in the implementation of demand driven data.
A subset of mesh points. The labels of points in the zone can be obtained from the addressing() list...
Ostream & operator<<(Ostream &, const ensightPart &)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
virtual void writeDict(Ostream &) const
Write dictionary.
virtual void write(Ostream &) const
Write.
Mesh consisting of general polyhedral cells.
virtual ~pointZone()
Destructor.
void operator=(const zone &)
Assignment operator.