Go to the documentation of this file.
62 const face& curFace = cellFaces[i];
74 <<
"zero or negative pyramid volume: " << -pyrVol
87 return sumVc/(sumV + VSMALL);
120 const face& curFace =cellFaces[i];
132 <<
"zero or negative pyramid volume: " << -pyrVol
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
Vector centroid.
#define forAll(list, i)
Loop across all elements in list.
Point centre(const UList< point > &points) const
Return centre (centroid)
A geometric pyramid primitive with a base of 'n' sides: i.e. a parametric pyramid....
scalar mag(const UList< point > &points) const
Return scalar magnitude - returns volume of pyramid.
Templated 3D Vector derived from VectorSpace adding construction from 3 components,...
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.
#define WarningInFunction
Report a warning using Foam::Warning.
labelList pointLabels(nPoints, -1)