Go to the documentation of this file.
64 <<
"zero or negative pyramid volume: " << -pyrVol
65 <<
" for face " << facei
73 return sumVc/(sumV + VSMALL);
108 <<
"zero or negative pyramid volume: " << -pyrVol
109 <<
" for face " << facei
static constexpr const zero Zero
Global zero (0)
Ostream & endl(Ostream &os)
Add newline and flush stream.
vector centre(const labelList &pointLabels, const UList< point > &points) const
Centroid of the cell.
#define forAll(list, i)
Loop across all elements in list.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A face is a list of labels corresponding to mesh vertices.
scalar mag(const labelList &pointLabels, const UList< point > &points) const
Cell volume.
pyramid< point, const point &, const face & > pyramidPointFaceRef
A pyramid using referred points and faces.
#define WarningInFunction
Report a warning using Foam::Warning.
labelList pointLabels(nPoints, -1)