33 Foam::sampledSurfaces::thresholdCellFaces::sampleField
47 Foam::sampledSurfaces::thresholdCellFaces::interpolateField
63 const face&
f = faces()[cutFacei];
67 label pointi =
f[faceVertI];
69 if (!pointDone[pointi])
76 pointDone[pointi] =
true;
#define forAll(list, i)
Loop across all elements in list.
Pre-declare SubField and related Field type.
Generic GeometricField class.
A face is a list of labels corresponding to mesh vertices.
Abstract base class for interpolation.
virtual Type interpolate(const vector &position, const label celli, const label facei=-1) const =0
Interpolate field to the given point in the given cell.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.