27 params.
addParam<
unsigned int>(
"solution_invalidity_timestep_interval",
29 "The number of time steps to group together in the table reporting " 30 "the solution invalidity occurrences.");
32 params.
addClassDescription(
"Controls output of the time history of solution invalidity object");
39 _timestep_interval(getParam<unsigned
int>(
"solution_invalidity_timestep_interval")),
40 _solution_invalidity(_app.solutionInvalidity())
58 mooseInfo(
"Set Outputs/solution_invalidity_history=false to silence the default Solution " 59 "Invalid Warnings History " const ExecFlagType EXEC_FAILED
A MultiMooseEnum object to hold "execute_on" flags.
Class to output the solution invalidity history summary to console.
void mooseInfo(Args &&... args) const
const ExecFlagType & getCurrentExecuteOnFlag() const
Return/set the current execution flag.
registerMooseObject("MooseApp", SolutionInvalidityOutput)
unsigned int _timestep_interval
define The number of time steps to group together in the table reporting the solution invalidity occu...
SolutionInvalidityOutput(const InputParameters ¶meters)
virtual bool shouldOutput()
Handles logic for determining if a step should be output.
virtual void output() override
Overload this function with the desired output activities.
Based class for output objects.
void syncIteration()
Sync iteration counts to main processor.
virtual bool shouldOutput() override
Handles logic for determining if a step should be output.
bool hasInvalidSolution() const
Whether or not any invalid solution was encountered (error or warning).
FEProblemBase * _problem_ptr
Pointer the the FEProblemBase object for output object (use this)
static InputParameters validParams()
bool isParamSetByUser(const std::string &nm) const
Test if the supplied parameter is set by a user, as opposed to not set or set to default.
const ConsoleStream _console
An instance of helper class to write streams to the Console objects.
void printHistory(const ConsoleStream &console, unsigned int ×tep_interval_size) const
Print the time history table of Solution Invalid warnings.
SolutionInvalidity & _solution_invalidity
get SolutionInvalidity reference
const ExecFlagType EXEC_FINAL
static InputParameters validParams()
void ErrorVector unsigned int