33 Foam::sampledSurfaces::patch::sampleField
41 forAll(patchFaceLabels_, i)
45 values[i] = bField[patchFaceLabels_[i]];
54 Foam::sampledSurfaces::patch::sampleField
63 forAll(patchFaceLabels_, i)
75 Foam::sampledSurfaces::patch::interpolateField
90 label patchi = patchIndices_[patchIndex_[cutFacei]];
92 label patchFacei = patchFaceLabels()[cutFacei];
93 const face&
f = faces()[cutFacei];
97 label pointi =
f[faceVertI];
99 if (!pointDone[pointi])
102 label celli = own[facei];
104 values[pointi] = interpolator.interpolate
110 pointDone[pointi] =
true;
#define forAll(list, i)
Loop across all elements in list.
Pre-declare SubField and related Field type.
Generic GeometricField class.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
void size(const label)
Override size to be inconsistent with allocated storage.
A face is a list of labels corresponding to mesh vertices.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
Abstract base class for interpolation.
virtual const labelList & faceOwner() const
Return face owner.
A patch is a list of labels that address the faces in the global face list.
label start() const
Return start label of this patch in the polyMesh face list.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.