53 if (pointHad.insert(v))
60 return sum/pointHad.
size();
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A face is a list of labels corresponding to mesh vertices.
Cell-face mesh analysis engine.
void size(const label)
Override size to be inconsistent with allocated storage.
const cellList & cells() const
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &df)
const Mesh & mesh() const
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.
virtual const faceList & faces() const =0
Return faces.
Interpolates (averages) the vertex values to the cell center.