Base class for function objects.
Creates the 'vars' and 'vals' parameters used by all ParsedFunctions, the parameters provided from th...
virtual RealGradient gradient(Real t, const Point &p) const override
Compute the gradient of the function.
std::string _value
String for the scalar function string.
MooseParsedGradFunction(const InputParameters ¶meters)
virtual void initialSetup() override
Creates two libMesh::ParsedFunction objects for returning a vector via the 'gradient' method and a sc...
std::string _grad_value
String for the gradient, vector function string.
virtual Real value(Real t, const Point &p) const override
Return a scalar value from the function.
virtual ~MooseParsedGradFunction()
Destructor necessary for std::unique_ptr usage.
This class is similar to ParsedFunction except it also supports returning the gradient of the functio...
std::unique_ptr< MooseParsedFunctionWrapper > _grad_function_ptr
Pointer to the Parsed function wrapper object for the gradient.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual RealVectorValue vectorValue(Real t, const Point &p) const override
Method invalid for ParsedGradFunction.
const InputParameters & parameters() const
Get the parameters of the object.
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...
static InputParameters validParams()
Class constructor.