Go to the documentation of this file.
40 forAll(patchFaceLabels_, i)
42 label patchI = patchIDs_[patchIndex_[i]];
44 values[i] = bField[patchFaceLabels_[i]];
62 forAll(patchFaceLabels_, i)
64 label patchI = patchIDs_[patchIndex_[i]];
65 values[i] = sField.
boundaryField()[patchI][patchFaceLabels_[i]];
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;
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
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.
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.
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 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
tmp< Field< Type > > sampleField(const GeometricField< Type, fvPatchField, volMesh > &vField) const
Sample field on faces.
tmp< Field< Type > > interpolateField(const interpolation< Type > &) const
A face is a list of labels corresponding to mesh vertices.
Generic GeometricField class.