35 virtual Real div(
Real t,
const Point & p)
const override;
Base class for function objects.
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...
Creates the 'vars' and 'vals' parameters used by all ParsedFunctions, the parameters provided from th...
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...
std::string _vector_value
Storage for vector input function(s), in format ready for libMesh.
static InputParameters validParams()
Class constructor.
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,z), by default this returns zero, you must override it.
virtual RealGradient gradient(Real t, const Point &p) const override
Function objects can optionally provide a gradient at a point.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Get the parameters of the object.
MooseParsedVectorFunction(const InputParameters ¶meters)
std::unique_ptr< MooseParsedFunctionWrapper > _curl_function_ptr
Pointer to the Parsed function wrapper object for the curl.
This class is similar to ParsedFunction except it returns a vector function.
std::string _div_value
Storage for div input function, in format ready for libMesh.
std::unique_ptr< MooseParsedFunctionWrapper > _div_function_ptr
Pointer to the Parsed function wrapper object for the div.