22 params.
addRequiredParam<std::string>(
"parameter",
"Parameter(s) to control");
24 "Control data to use for the value of the parameter(s)");
25 const std::string type_str = MooseUtils::prettyCppType<T>();
27 "' to a control data value of type '" + type_str +
"'.");
33 :
ChainControl(parameters), _value(getChainControlData<T>(
"value"))
41 setControllableValue<T>(
"parameter", _value);
48 if (_app.isRecovering())
49 setControllableValue<T>(
"parameter", _value);
registerMooseObject("MooseApp", SetRealValueChainControl)
Control that additionally provides the capability to produce/consume data values, to allow control op...
static InputParameters validParams()
Sets parameter(s) to a control data value.
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.
static InputParameters validParams()
SetValueChainControlTempl(const InputParameters ¶meters)