12 #include "libmesh/libmesh_config.h" 14 #ifdef LIBMESH_HAVE_FPARSER 17 #include "libmesh/fparser.hh" 47 virtual void execute()
override;
79 #endif // LIBMESH_HAVE_FPARSER
virtual void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job...
enum Terminator::MessageType _msg_type
Terminator(const InputParameters ¶meters)
const InputParameters & parameters() const
Get the parameters of the object.
std::vector< std::string > _pp_names
Postprocessor names.
std::vector< Real > _params
Fparser parameter buffer.
void handleMessage()
handle output of the optional message
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
std::string _expression
Expression of the criterion, to be parsed for evaluation.
std::vector< const PostprocessorValue * > _pp_values
Postprocessor values.
MessageType
What logging level the terminator message is output with.
enum Terminator::FailMode _fail_mode
This Userobject requests termination of the current solve based on the values of Postprocessors (and ...
static InputParameters validParams()
virtual void finalize() override
Finalize.
FailMode
What action the terminator takes when the criteria is met.
virtual void execute() override
Execute method.
FunctionParserBase< Real > _fp
Fparser object.