41 const cell& cFaces =
mesh.cells()[celli];
55 if (pointHad.insert(v))
62 return sum/pointHad.size();
void size(const label n)
Older name for setAddressableSize.
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &f1)
A face is a list of labels corresponding to mesh vertices.
Cell-face mesh analysis engine.
#define forAll(list, i)
Loop across all elements in list.
const Mesh & mesh() const noexcept
Return mesh.
Type interpolatePointToCell(const GeometricField< Type, pointPatchField, pointMesh > &ptf, const label celli)
A cell is defined as a list of faces with extra functionality.
Interpolates (averages) the vertex values to the cell center.
static constexpr const zero Zero
Global zero (0)