LogConstantDT.C File Reference

Go to the source code of this file.


InputParameters validParams< LogConstantDT > ()

Function Documentation

Definition at line 19 of file LogConstantDT.C.

20 {
22  params.addClassDescription(
23  "TimeStepper which imposes a time step constant in the logarithmic space");
24  params.addRequiredRangeCheckedParam<Real>("log_dt", "log_dt > 0", "Time step in log10(time)");
25  params.addRequiredRangeCheckedParam<Real>(
26  "first_dt", "first_dt > 0", "Initial time step (in absolute time)");
27  params.addRangeCheckedParam<Real>(
28  "growth_factor",
29  2,
30  "growth_factor>=1",
31  "Maximum ratio of new to previous timestep sizes following a step that required the time"
32  " step to be cut due to a failed solve.");
33  return params;
34 }
void addRequiredRangeCheckedParam(const std::string &name, const std::string &parsed_function, const std::string &doc_string)
These methods add an range checked parameters.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< TimeStepper >()
Definition: TimeStepper.C:22
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump...
void addRangeCheckedParam(const std::string &name, const T &value, const std::string &parsed_function, const std::string &doc_string)