22 "base_function",
"The function used as a basis for the generated periodic function.");
26 "The period for repetition of the base function in time");
31 "The period for repetition of the base function in the x direction");
36 "The period for repetition of the base function in the y direction");
41 "The period for repetition of the base function in the y direction");
43 "Provides a periodic function by repeating a user-supplied base function in time and/or any " 44 "of the three Cartesian coordinate directions");
51 _base_function(getFunctionByName(getParam<FunctionName>(
"base_function"))),
52 _period_time(getParam<
Real>(
"period_time")),
53 _period_x(getParam<
Real>(
"period_x")),
54 _period_y(getParam<
Real>(
"period_y")),
55 _period_z(getParam<
Real>(
"period_z"))
71 template <
typename T,
typename P>
91 P p_base(x_base, y_base, z_base);
const Real _period_z
Period for repetition of the base function in the z direction.
Base class for function objects.
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...
DualNumber< Real, DNDerivativeType, true > ADReal
PeriodicFunction(const InputParameters ¶meters)
auto max(const L &left, const R &right)
const Real _period_y
Period for repetition of the base function in the y direction.
const Real _period_time
Period for repetition of the base function in time.
static InputParameters validParams()
const Function & _base_function
Function used as a basis for the periodic function.
registerMooseObject("MooseApp", PeriodicFunction)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real _period_x
Period for repetition of the base function in the x direction.
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...
static InputParameters validParams()
Class constructor.
Interface for objects that need to use functions.
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...