19 "A function that returns a constant value as defined by an input parameter.");
20 params.
addParam<
Real>(
"value", 0.0,
"The constant value");
Class that represents constant function.
virtual Real timeIntegral(Real t1, Real t2, const Point &p) const override
Computes the time integral at a spatial point between two time values.
Base class for function objects.
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...
ConstantFunction(const InputParameters ¶meters)
virtual Real timeDerivative(Real t, const Point &p) const override
Get the time derivative of the function.
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("MooseApp", ConstantFunction)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
static InputParameters validParams()
Class constructor.
virtual RealVectorValue gradient(Real t, const Point &p) const override
Function objects can optionally provide a gradient at a point.