19 params.
addRequiredParam<std::string>(
"component",
"The name of the component to be controlled.");
21 "parameter",
"The name of the parameter in the component to be controlled.");
23 "The name of control data to be set in the component.");
25 "parameter with control data boolean");
31 _component_name(getParam<
std::string>(
"component")),
32 _param_name(getParam<
std::string>(
"parameter")),
33 _ctrl_param_name(
"component", _component_name, _param_name),
34 _value(getControlData<Real>(
"value"))
registerMooseObject("ThermalHydraulicsApp", SetComponentRealValueControl)
This block reads an input computed by the control logic system and sets a value in a specified compon...
static InputParameters validParams()
SetComponentRealValueControl(const InputParameters ¶meters)
MooseObjectParameterName _ctrl_param_name
Control parameter name used internally by MOOSE (the name is generated by THM)
const Real & _value
The value that is written into the component.
static InputParameters validParams()