34 #ifndef polyAddPoint_H 35 #define polyAddPoint_H 102 if (zoneID_ < 0 && !
inCell)
105 <<
"This is not allowed.\n" 107 <<
" master: " << masterPointID_
108 <<
" zone: " << zoneID_
135 return masterPointID_;
141 return masterPointID_ < 0;
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
label zoneID() const
Point zone ID.
bool isInZone() const
Does the point belong to a zone?
Class containing data for point addition.
virtual autoPtr< topoAction > clone() const
Construct and return a clone.
const point & newPoint() const
Point location.
TypeName("addPoint")
Runtime type information.
bool inCell() const
Does the point support a cell.
errorManip< error > abort(error &err)
A virtual base class for topological actions.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
bool appended() const
Is the point appended with no master.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
polyAddPoint()
Construct null. Used only for list construction.
static constexpr const zero Zero
Global zero (0)
label masterPointID() const
Master point label.