29 virtual Real
value(
const Point & p)
override;
34 virtual RealGradient
gradient(
const Point & p)
override;
Defines an initial condition using a functor.
static InputParameters validParams()
virtual RealGradient gradient(const Point &p) override
The value of the gradient at a point.
const Moose::Functor< Real > & _functor
Function to evaluate to form the initial condition.
const Real _scaling
Scaling factor, to be able to use a functor with multiple ICs.
virtual Real value(const Point &p) override
The value of the variable at a point.
This is a template class that implements the workhorse compute and computeNodal methods.
const InputParameters & parameters() const
Get the parameters of the object.
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...
An interface for accessing Moose::Functors for systems that do not care about automatic differentiati...