32 Foam::sampledSurfaces::triSurfaceMesh::sampleField
45 forAll(sampleElements_, triI)
47 values[triI] = vField[sampleElements_[triI]];
75 forAll(sampleElements_, triI)
77 label facei = sampleElements_[triI];
88 Foam::sampledSurfaces::triSurfaceMesh::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],
#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.
label size() const
Return the number of elements in the UPtrList.
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.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
label nInternalFaces() const
const polyMesh & mesh() const
Access to the underlying mesh.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.