Go to the documentation of this file.
38 Foam::sampledIsoSurface::sampleOnFaces
45 return sampledSurface::sampleOnFaces
57 Foam::sampledIsoSurface::sampleOnPoints
66 return this->sampleOnIsoSurfacePoints(interpolator);
69 return sampledSurface::sampleOnPoints
81 Foam::sampledIsoSurface::sampleOnIsoSurfacePoints
89 <<
"cannot call without an iso-surface" <<
nl
94 const auto& volFld = interpolator.
psi();
102 tvolFld.
reset(subMeshPtr_->interpolate(volFld));
113 tvolFld.
reset(pointAverage(tpointFld()));
116 return isoSurfacePtr_->interpolate(tvolFld(), tpointFld());
A class for managing temporary objects.
const GeometricField< Type, fvPatchField, volMesh > & psi() const
Return the field to be interpolated.
Abstract base class for interpolation.
errorManipArg< error, int > exit(error &err, const int errNo=1)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
void reset(tmp< T > &&other) noexcept
Clear existing and transfer ownership.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &tvf, const edgeScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.