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);
registerMooseObject("MooseApp", RealFunctionControl)
Base class for Control objects.
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.
MooseApp & _app
The MOOSE application this is associated with.
A basic control for changing an input parameter using a Function.
RealFunctionControl(const InputParameters ¶meters)
static InputParameters validParams()
Class constructor.
const Function & _function
The function to execute.
virtual void initialSetup() override
Called once at the beginning of the simulation, used to initialize recovered control values.
virtual void execute() override
Execute the control.