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