22 "Sets the value of a 'Real' input parameters to the value of a provided function.");
24 "function",
"The function to use for controlling the specified parameter.");
27 "The input parameter(s) to control. Specify a single parameter name and all " 28 "parameters in all objects matching the name will be updated");
33 :
Control(parameters), _function(getFunction(
"function"))
41 setControllableValue<Real>(
"parameter",
value);
50 setControllableValue<Real>(
"parameter",
value);
static InputParameters validParams()
Class constructor.
virtual void initialSetup() override
Called once at the beginning of the simulation, used to initialize recovered control values...
A basic control for changing an input parameter using a Function.
Real value(unsigned n, unsigned alpha, unsigned beta, Real x)
virtual void execute() override
Execute the control.
MooseApp & _app
The MOOSE application this is associated with.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Base class for Control objects.
registerMooseObject("MooseApp", RealFunctionControl)
const Function & _function
The function to execute.
static InputParameters validParams()
Class constructor.
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...
bool isRecovering() const
Whether or not this is a "recover" calculation.
RealFunctionControl(const InputParameters ¶meters)