31 virtual RealVectorValue
vectorValue(Real t,
const Point & p)
const override;
33 virtual RealVectorValue
curl(Real t,
const Point & p)
const override;
35 virtual Real
div(Real t,
const Point & p)
const override;
37 virtual RealGradient
gradient(Real t,
const Point & p)
const override;
Base class for function objects.
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 returns a vector function.
std::string _curl_value
Storage for curl input function(s), in format ready for libMesh.
virtual Real div(Real t, const Point &p) const override
Override this to evaluate the divergence of the vector function at a point (t,x,y,...
std::unique_ptr< MooseParsedFunctionWrapper > _div_function_ptr
Pointer to the Parsed function wrapper object for the div.
virtual void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job.
virtual RealVectorValue curl(Real t, const Point &p) const override
Override this to evaluate the curl of the vector function at a point (t,x,y,z), by default this retur...
virtual RealGradient gradient(Real t, const Point &p) const override
Function objects can optionally provide a gradient at a point.
std::string _vector_value
Storage for vector input function(s), in format ready for libMesh.
static InputParameters validParams()
Class constructor.
std::unique_ptr< MooseParsedFunctionWrapper > _curl_function_ptr
Pointer to the Parsed function wrapper object for the curl.
std::string _div_value
Storage for div input function, in format ready for libMesh.
virtual RealVectorValue vectorValue(Real t, const Point &p) const override
Override this to evaluate the vector function at a point (t,x,y,z), by default this returns a zero ve...