DT2.C File Reference

Go to the source code of this file.


InputParameters validParams< DT2 > ()

Function Documentation

InputParameters validParams< DT2 > ( )

Definition at line 34 of file DT2.C.

35 {
37  params.addParam<Real>("dt", 1., "The initial time step size.");
38  params.addRequiredParam<Real>("e_tol", "Target error tolerance.");
39  params.addRequiredParam<Real>("e_max", "Maximum acceptable error.");
40  params.addParam<Real>("max_increase", 1.0e9, "Maximum ratio that the time step can increase.");
42  return params;
43 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
InputParameters validParams< TimeStepper >()
Definition: TimeStepper.C:22
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...