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"))
Real sample(Real x) const
This function will take an independent variable input and will return the dependent variable based on...
Base class for function objects.
SplineFunction(const InputParameters ¶meters)
SplineInterpolation _ipol
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...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Real sample2ndDerivative(Real x) const
registerMooseObject("MooseApp", SplineFunction)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real secondDerivative(const Point &p) const
Real sampleDerivative(Real x) const
virtual Real derivative(const Point &p) const
static InputParameters validParams()
int _component
Desired component.
static InputParameters validParams()
Class constructor.
Function that uses spline interpolation.