22 virtual Real
value(Real t,
const Point & p)
const override;
47 template <
typename T,
typename P>
DualNumber< Real, DNDerivativeType, true > ADReal
Interface for objects that need to use functions.
Base class for function objects.
virtual Real value(Real t, const Point &p) const
Override this to evaluate the scalar function at point (t,x,y,z), by default this returns zero,...
const InputParameters & parameters() const
Get the parameters of the object.
const Real _period_z
Period for repetition of the base function in the z direction.
static InputParameters validParams()
T valueInternal(const T &t, const P &p) const
Templated function where the actual computation of the value as a function of time and spatial coordi...
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,...
const Real _period_y
Period for repetition of the base function in the y direction.
const Real _period_x
Period for repetition of the base function in the x direction.
const Function & _base_function
Function used as a basis for the periodic function.
const Real _period_time
Period for repetition of the base function in time.