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