18 params.
addRequiredParam<std::string>(
"component",
"The name of the component to be controlled.");
20 "parameter",
"The name of the parameter in the component to be controlled.");
22 "The name of control data to be set in the component.");
24 "Control to set a boolean value of a component parameter with control data boolean");
30 _component_name(getParam<
std::string>(
"component")),
31 _param_name(getParam<
std::string>(
"parameter")),
32 _ctrl_param_name(
"component", _component_name, _param_name),
33 _value(getControlData<bool>(
"value"))
MooseObjectParameterName _ctrl_param_name
Control parameter name used internally by MOOSE (the name is generated by THM)
static InputParameters validParams()
SetComponentBoolValueControl(const InputParameters ¶meters)
static InputParameters validParams()
const bool & _value
The value that is written into the component.
registerMooseObject("ThermalHydraulicsApp", SetComponentBoolValueControl)
Control to set a boolean value of a component parameter.