33 Foam::sampledSurfaces::sampledIsoSurfaceSurface::sampleField
46 Foam::sampledSurfaces::sampledIsoSurfaceSurface::interpolateField
56 refCast<const interpolationVolPointInterpolation<Type>>
57 (interpolator).psip();
64 const faceList& faces = isoSurfPtr_->faces();
65 const labelList& faceCells = isoSurfPtr_->faceCells();
70 forAll(faces[facei], facePointi)
72 pointCells[faces[facei][facePointi]] = faceCells[facei];
#define forAll(list, i)
Loop across all elements in list.
Generic GeometricField class.
const Internal::FieldType & primitiveField() const
Return a const-reference to the primitive field.
Base class for interpolations that require a vol-point interpolated field.
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.
virtual bool update()
Update the surface as required.
A class for managing temporary objects.
bool isA(const Type &t)
Check if a dynamic_cast to typeid is possible.