19 "Define a spline function from interpolated data defined by input parameters.");
22 "component", component,
"The component of the geometry point to interpolate with");
26 "yp1", 1e30,
"The value of the first derivative of the interpolating function at point 1");
28 "ypn", 1e30,
"The value of the first derivative of the interpolating function at point n");
35 _ipol(getParam<
std::vector<Real>>(
"x"),
36 getParam<
std::vector<Real>>(
"y"),
37 getParam<Real>(
"yp1"),
38 getParam<Real>(
"ypn")),
39 _component(getParam<
MooseEnum>(
"component"))
58 RealGradient grad(0.0);
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("MooseApp", SplineFunction)
Base class for function objects.
static InputParameters validParams()
Class constructor.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Function that uses spline interpolation.
SplineInterpolation _ipol
int _component
Desired component.
virtual Real derivative(const Point &p) const
virtual RealGradient gradient(Real t, const Point &p) const override
Function objects can optionally provide a gradient at a point.
virtual Real secondDerivative(const Point &p) const
SplineFunction(const InputParameters ¶meters)
static InputParameters validParams()
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,...
Real sampleDerivative(Real x) const
Real sample(Real x) const
This function will take an independent variable input and will return the dependent variable based on...
Real sample2ndDerivative(Real x) const