55 zone(name, addr, index),
68 zone(name, addr, index),
81 zone(name, dict, this->labelsName, index),
94 zone(pz, addr, index),
107 zone(pz, 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)" 194 writeEntry(this->labelsName, os);
228 os.
check(
"Ostream& operator<<(Ostream&, const pointZone&");
A simple container for copying or transferring objects of type <T>.
#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.
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 checkParallelSync(const bool report=false) const
Check whether zone is synchronised across coupled boundaries. Return.
const pointZoneMesh & zoneMesh() const
Return zoneMesh reference.
virtual void write(Ostream &) const
Write.
void operator=(const pointZone &)
Assign 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 void writeDict(Ostream &) const
Write dictionary.
label localID(const label globalID) const
Map storing the local index for every global index. Used to find.
virtual bool checkDefinition(const bool report=false) const =0
Check zone definition. Return true if in error.
static const label labelMax
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)
label whichPoint(const label globalPointID) const
Helper function to re-direct to zone::localID(...)
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.
void operator=(const UList< label > &)
Assignment from UList operator. Takes linear time.
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...
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
pointZone(const pointZone &)
Disallow default bitwise copy construct.
Ostream & operator<<(Ostream &, const ensightPart &)
virtual bool checkDefinition(const bool report=false) const
Check zone definition. Return true if in error.
Mesh consisting of general polyhedral cells.
virtual ~pointZone()
Destructor.