19 params.
addClassDescription(
"Trips a boolean value if an input boolean value is a certain value.");
22 "The boolean chain control data to determine if tripped");
23 params.
addParam<
bool>(
"trip_on_true",
25 "If set to 'true', the trip occurs if the input has a value of 'true'; " 26 "else the trip occurs if the input has a value of 'false'.");
33 _trip_on_true(getParam<bool>(
"trip_on_true")),
34 _input(getChainControlData<bool>(
"input")),
35 _tripped(declareChainControlData<bool>(
"tripped"))
registerMooseObject("MooseApp", UnitTripChainControl)
const bool _trip_on_true
Whether to trip on true or false value.
virtual void execute() override
Execute the control.
const bool & _input
Value to check for trip.
static InputParameters validParams()
Trips a boolean value if an input boolean value is a certain value.
UnitTripChainControl(const InputParameters ¶meters)
bool & _tripped
Tripped status.
static InputParameters validParams()
Control that additionally provides the capability to produce/consume data values, to allow control op...