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&");
virtual void write(Ostream &) const
Write.
virtual bool checkParallelSync(const bool report=false) const
Check whether zone is synchronised across coupled boundaries. Return.
virtual bool checkDefinition(const bool report=false) const
Check zone definition. Return true if in error.
word name(const complex &)
Return a string representation of a complex.
A subset of mesh points. The labels of points in the zone can be obtained from the addressing() list...
virtual void writeDict(Ostream &) const
Write dictionary.
A simple container for copying or transferring objects of type <T>.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual ~pointZone()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Ostream & operator<<(Ostream &, const edgeMesh &)
const pointZoneMesh & zoneMesh() const
Return zoneMesh reference.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual const pointField & points() const
Return raw points.
label localID(const label globalID) const
Map storing the local index for every global index. Used to find.
Macros for easy insertion into run-time selection tables.
Template functions to aid in the implementation of demand driven data.
virtual bool checkDefinition(const bool report=false) const =0
Check zone definition. Return true if in error.
static void syncPointList(const polyMesh &, List< T > &, const CombineOp &cop, const T &nullValue, const TransformOp &top)
Synchronize values on all mesh points.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Mesh consisting of general polyhedral cells.
Class to handle errors and exceptions in a simple, consistent stream-based manner.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void operator=(const pointZone &)
Assign to zone, clearing demand-driven data.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
label whichPoint(const label globalPointID) const
Helper function to re-direct to zone::localID(...)
pointZone(const pointZone &)
Disallow default bitwise copy construct.
static const label labelMax
static const char *const labelsName
The name associated with the zone-labels dictionary entry.
void operator=(const UList< label > &)
Assignment from UList operator. Takes linear time.