27 virtual Real
value(Real t,
const Point & p)
const override;
29 virtual Real
derivative(
const Point & p,
unsigned int deriv_var)
const;
30 virtual RealGradient
gradient(Real t,
const Point & p)
const override;
31 virtual Real
secondDerivative(
const Point & p,
unsigned int deriv_var)
const;
39 std::vector<Real>
_x1;
40 std::vector<Real>
_x2;
Function that uses spline interpolation.
std::vector< Real > _yx21
std::vector< Real > _yx11
virtual RealGradient gradient(Real t, const Point &p) const override
Function objects can optionally provide a gradient at a point.
virtual Real value(Real t, const Point &p) const override
Override this to evaluate the scalar function at point (t,x,y,z), by default this returns zero,...
unsigned int _normal_component
std::vector< Real > _yx1n
BicubicSplineInterpolation _ipol
std::vector< Real > _yx2n
static InputParameters validParams()
virtual Real derivative(const Point &p, unsigned int deriv_var) const
virtual Real secondDerivative(const Point &p, unsigned int deriv_var) const
This class interpolates tabulated functions with a bi-cubic spline.
Interface for objects that need to use functions.
Base class for function objects.
virtual Real value(Real t, const Point &p) const
Override this to evaluate the scalar function at point (t,x,y,z), by default this returns zero,...
const InputParameters & parameters() const
Get the parameters of the object.