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
scalar centre() const
Mid-point location, zero for an empty list.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void size(const label n)
Older name for setAddressableSize.
A face is a list of labels corresponding to mesh vertices.
Computes the magnitude of an input field.
#define WarningInFunction
Report a warning using Foam::Warning.
pyramid< point, const point &, const face & > pyramidPointFaceRef
A pyramid using referred points and faces.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static constexpr const zero Zero
Global zero (0)
labelList pointLabels(nPoints, -1)
#define forAll(list, i)
Loop across all elements in list.