26 virtual void init()
override;
27 virtual void execute()
override;
virtual void initialSetup() override
virtual void init() override
const bool & _latch
Determines if the state of the trip should stay true for the rest of the simulation after the trip ha...
std::string _condition
The user-defined condition.
bool _tripped
true if the trip happened, otherwise false
A wrapper class for creating and evaluating parsed functions via the libMesh::ParsedFunction interfac...
static InputParameters validParams()
std::unique_ptr< THMParsedFunctionWrapper > _condition_ptr
Pointer to the Parsed function wrapper object.
This control block uses a user-defined condition to determine if a trip happened. ...
void buildConditionFunction()
Build the function that is used to evaluate the condition of this trip control.
const InputParameters & parameters() const
bool & _state
The state of this control object.
virtual void execute() override
UnitTripControl(const InputParameters ¶meters)