TopResidualDebugOutput.C File Reference

Go to the source code of this file.


InputParameters validParams< TopResidualDebugOutput > ()

Function Documentation

Definition at line 30 of file TopResidualDebugOutput.C.

31 {
34  // Create parameters for allowing debug outputter to be defined within the [Outputs] block
35  params.addParam<unsigned int>(
36  "num_residuals", 0, "The number of top residuals to print out (0 = no output)");
38  // By default operate on both nonlinear and linear residuals
39  params.set<MultiMooseEnum>("execute_on") = "linear nonlinear timestep_end";
40  return params;
41 }
T & set(const std::string &name, bool quiet_mode=false)
Returns a writable reference to the named parameters.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< PetscOutput >()
Definition: PetscOutput.C:25
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...