102 if (zoneID_ < 0 && !
inCell)
105 <<
"This is not allowed.\n"
107 <<
" master: " << masterPointID_
108 <<
" zone: " << zoneID_
135 return masterPointID_;
141 return masterPointID_ < 0;
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Class containing data for point addition.
label zoneID() const
Point zone ID.
const point & newPoint() const
Point location.
bool inCell() const
Does the point support a cell.
label masterPointID() const
Master point label.
polyAddPoint()
Construct null. Used only for list construction.
polyAddPoint(const point &p, const label masterPointID, const label zoneID, const bool inCell)
Construct from components.
TypeName("addPoint")
Runtime type information.
virtual autoPtr< topoAction > clone() const
Construct and return a clone.
bool isInZone() const
Does the point belong to a zone?
bool appended() const
Is the point appended with no master.
A virtual base class for topological actions.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManip< error > abort(error &err)
static constexpr const zero Zero
Global zero (0)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.