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
void size(const label n)
Older name for setAddressableSize.
vector centre(const labelList &pointLabels, const UList< point > &points) const
Centroid of the cell.
A face is a list of labels corresponding to mesh vertices.
labelList pointLabels(nPoints, -1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define forAll(list, i)
Loop across all elements in list.
pyramid< point, const point &, const face & > pyramidPointFaceRef
A pyramid using referred point and face.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
scalar mag(const labelList &pointLabels, const UList< point > &points) const
Cell volume.
#define WarningInFunction
Report a warning using Foam::Warning.
List< label > labelList
A List of labels.
static constexpr const zero Zero
Global zero (0)