32 Foam::sampledPatch::sampleField
40 forAll(patchFaceLabels_, i)
42 label patchI = patchIDs_[patchIndex_[i]];
44 values[i] = bField[patchFaceLabels_[i]];
53 Foam::sampledPatch::sampleField
62 forAll(patchFaceLabels_, i)
64 label patchI = patchIDs_[patchIndex_[i]];
65 values[i] = sField.
boundaryField()[patchI][patchFaceLabels_[i]];
74 Foam::sampledPatch::interpolateField
89 label patchI = patchIDs_[patchIndex_[cutFaceI]];
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;
const pointField & points
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Abstract base class for interpolation.
A patch is a list of labels that address the faces in the global face list.
A face is a list of labels corresponding to mesh vertices.
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.
Generic GeometricField class.
A class for managing temporary objects.