38 virtual Real
value(
const Point & p)
override;
43 virtual RealGradient
gradient(
const Point & p)
override;
Defines an initial condition that forces the value to be a user specified function.
Real f()
Evaluate the function at the current quadrature point and time step.
const FunctionName functionName() const
const Function & _func
Function to evaluate to form the initial condition.
virtual RealGradient gradient(const Point &p) override
The value of the gradient at a point.
static InputParameters validParams()
const Real _scaling
Scaling factor, to be able to use a function with multiple ICs.
virtual Real value(const Point &p) override
The value of the variable at a point.
Base class for function objects.
This is a template class that implements the workhorse compute and computeNodal methods.
const InputParameters & parameters() const
Get the parameters of the object.