45 virtual Real
value(Real t,
const Point & p)
const override;
53 virtual RealGradient
gradient(Real t,
const Point & p)
const override;
59 virtual RealVectorValue
vectorValue(Real t,
const Point & p)
const override;
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.
Adds user facing parameters for parsed function.
This class is similar to ParsedFunction except it also supports returning the gradient of the functio...
virtual RealVectorValue vectorValue(Real t, const Point &p) const override
Method invalid for ParsedGradFunction.
virtual ~MooseParsedGradFunction()
Destructor necessary for std::unique_ptr usage.
virtual RealGradient gradient(Real t, const Point &p) const override
Compute the gradient of the function.
std::string _grad_value
String for the gradient, vector function string.
virtual void initialSetup() override
Creates two libMesh::ParsedFunction objects for returning a vector via the 'gradient' method and a sc...
virtual Real value(Real t, const Point &p) const override
Return a scalar value from the function.
static InputParameters validParams()
Class constructor.
std::unique_ptr< MooseParsedFunctionWrapper > _grad_function_ptr
Pointer to the Parsed function wrapper object for the gradient.
std::string _value
String for the scalar function string.