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