Go to the documentation of this file.
110 zone(origZone, addr, index),
123 zone(origZone, std::move(addr), index),
157 for (
const label pointi : addr)
159 maxZone[pointi] = index();
160 minZone[pointi] = index();
173 maxZone[pointi] != -1
176 && (maxZone[pointi] != minZone[pointi])
179 if (report && !
error)
181 Info<<
" ***Problem with pointZone " << index()
182 <<
" named " <<
name()
183 <<
". Point " << pointi
186 << (minZone[pointi] ==
labelMax ? -1 : minZone[pointi])
187 <<
" on some processors and in zone "
189 <<
" on some other processors." <<
nl
190 <<
"(suppressing further warnings)"
206 writeEntry(this->labelsName, os);
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
virtual const pointField & points() const
Return raw points.
A class for handling words, derived from Foam::string.
pointZone(const pointZone &)=delete
No copy construct.
Template functions to aid in the implementation of demand driven data.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
Base class for mesh zones.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void operator=(const pointZone &zn)
Assign to zone, clearing demand-driven data.
virtual bool checkParallelSync(const bool report=false) const
Check whether zone is synchronised across coupled boundaries.
Mesh consisting of general polyhedral cells.
#define forAll(list, i)
Loop across all elements in list.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
virtual void write(Ostream &os) const
Write.
messageStream Info
Information stream (uses stdout - output is on the master only)
word name(const complex &c)
Return string representation of complex.
void transfer(List< label > &list)
const pointZoneMesh & zoneMesh_
Reference to zone list.
void operator=(const UList< label > &a)
Assignment to UList operator. Takes linear time.
const pointZoneMesh & zoneMesh() const
Return zoneMesh reference.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
Begin block [isseparator].
label whichPoint(const label globalPointID) const
Helper function to re-direct to zone::localID(...)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
label nPoints() const
Number of mesh points.
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,...
defineTypeNameAndDebug(combustionModel, 0)
Class to handle errors and exceptions in a simple, consistent stream-based manner.
virtual bool checkDefinition(const bool report=false) const
Check zone definition. Return true if in error.
virtual void writeDict(Ostream &os) const
Write dictionary.
virtual bool checkDefinition(const bool report=false) const =0
Check zone definition. Return true if in error.