28#ifndef _SRC_LEGACY_INTERFACE_INTERPOLATION_TRILINEARINTERPOLATOR_HH_
29#define _SRC_LEGACY_INTERFACE_INTERPOLATION_TRILINEARINTERPOLATOR_HH_
Interpolator3dGridTo1d is an abstraction for lookup on a 3D mesh to get a 1D value.
double *** function() const
Return a pointer to the function data.
Used to loop over some, or all, points in the mesh, as in stl Enables e.g.
ThreeDGrid holds grid information for a rectangular grid used in e.g.
TriLinearInterpolator performs a linear interpolation in x then y then z.
~TriLinearInterpolator()
Destructor - removes reference from the mesh and from the function data.
TriLinearInterpolator * clone() const
Copy function (can be called on parent class)
TriLinearInterpolator(ThreeDGrid *grid, double ***F)
Constructor for grids with constant spacing.
virtual void function(const Mesh::Iterator &point, double *value) const
Call function at a particular point in the mesh.
virtual void function(const double *point, double *value) const =0
Pure virtual function to fill the array value with data evaluated at point.