59 const face& curFace = cellFaces[i];
71 <<
"zero or negative pyramid volume: " << -pyrVol
84 return sumVc/(sumV + vSmall);
117 const face& curFace =cellFaces[i];
129 <<
"zero or negative pyramid volume: " << -pyrVol
#define forAll(list, i)
Loop across all elements in list.
void size(const label)
Override size to be inconsistent with allocated storage.
vector centre(const labelList &pointLabels, const pointField &points) const
Vector centroid.
faceList faces(const labelList &pointLabels) const
Return list of faces.
scalar mag(const labelList &pointLabels, const pointField &points) const
Cell volume.
A face is a list of labels corresponding to mesh vertices.
A geometric pyramid primitive with a base of 'n' sides: i.e. a parametric pyramid....
scalar mag(const pointField &points) const
Return scalar magnitude - returns volume of pyramid.
Point centre(const pointField &points) const
Return centre (centroid)
#define WarningInFunction
Report a warning using Foam::Warning.
Ostream & endl(Ostream &os)
Add newline and flush stream.
labelList pointLabels(nPoints, -1)