32 Foam::sampledSurfaces::patch::sampleField
40 forAll(patchFaceLabels_, i)
44 values[i] = bField[patchFaceLabels_[i]];
53 Foam::sampledSurfaces::patch::sampleField
62 forAll(patchFaceLabels_, i)
74 Foam::sampledSurfaces::patch::interpolateField
91 label patchFacei = patchFaceLabels()[cutFacei];
92 const face&
f = faces()[cutFacei];
96 label pointi = f[faceVertI];
98 if (!pointDone[pointi])
101 label celli = own[facei];
109 pointDone[pointi] =
true;
#define forAll(list, i)
Loop across all elements in list.
A face is a list of labels corresponding to mesh vertices.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
T & ref() const
Return non-const reference or generate a fatal error.
Generic GeometricField class.
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.
Pre-declare SubField and related Field type.
label start() const
Return start label of this patch in the polyMesh face list.
Abstract base class for interpolation.
A class for managing temporary objects.
A patch is a list of labels that address the faces in the global face list.