20 "Sets the value of a 'bool' input parameters to the value of a provided function.");
22 "function",
"The function to use for controlling the specified parameter.");
25 "The input parameter(s) to control. Specify a single parameter name and all "
26 "parameters in all objects matching the name will be updated");
31 :
Control(parameters), _function(getFunction(
"function"))
39 setControllableValue<bool>(
"parameter", value != 0.);
registerMooseObject("MooseApp", BoolFunctionControl)
A basic control for changing a boolean-valued input parameter using a Function.
virtual void execute() override
Execute the control.
BoolFunctionControl(const InputParameters ¶meters)
const Function & _function
The function to determine the value of the controlled parameter.
static InputParameters validParams()
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,...