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.);
static InputParameters validParams()
Class constructor.
static InputParameters validParams()
A basic control for changing a boolean-valued input parameter using a Function.
registerMooseObject("MooseApp", BoolFunctionControl)
Real value(unsigned n, unsigned alpha, unsigned beta, Real x)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Base class for Control objects.
virtual void execute() override
Execute the control.
const Function & _function
The function to determine the value of the controlled parameter.
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...
BoolFunctionControl(const InputParameters ¶meters)