32 Foam::sampledTriSurfaceMesh::sampleField
41 if (sampleSource_ ==
cells || sampleSource_ == insideCells)
45 forAll(sampleElements_, triI)
47 values[triI] = vField[sampleElements_[triI]];
63 label bFaceI = pbm[patchI].start() -
mesh().nInternalFaces();
75 forAll(sampleElements_, triI)
77 label faceI = sampleElements_[triI];
78 values[triI] = bVals[faceI-
mesh().nInternalFaces()];
88 Foam::sampledTriSurfaceMesh::interpolateField
97 if (sampleSource_ ==
cells || sampleSource_ == insideCells)
101 forAll(sampleElements_, pointI)
105 samplePoints_[pointI],
106 sampleElements_[pointI]
114 forAll(samplePoints_, pointI)
116 label faceI = sampleElements_[pointI];
120 samplePoints_[pointI],
121 mesh().faceOwner()[faceI],
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.
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.
const cellShapeList & cells
Generic GeometricField class.
Traits class for primitives.
A class for managing temporary objects.