www.mooseframework.org
Classes | Functions
ConstantDT.h File Reference

Go to the source code of this file.

Classes

class  ConstantDT
 

Functions

template<>
InputParameters validParams< ConstantDT > ()
 

Function Documentation

Definition at line 19 of file ConstantDT.C.

20 {
22  params.addRequiredParam<Real>("dt", "Size of the time step");
23  params.addRangeCheckedParam<Real>(
24  "growth_factor",
25  2,
26  "growth_factor>=1",
27  "Maximum ratio of new to previous timestep sizes following a step that required the time"
28  " step to be cut due to a failed solve.");
29  params.addClassDescription("Timestepper that takes a constant time step size");
30  return params;
31 }
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 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)