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

Go to the source code of this file.

Classes

class  SolutionTimeAdaptiveDT
 

Functions

template<>
InputParameters validParams< SolutionTimeAdaptiveDT > ()
 

Function Documentation

Definition at line 23 of file SolutionTimeAdaptiveDT.C.

24 {
26  params.addParam<Real>(
27  "percent_change", 0.1, "Percentage to change the timestep by. Should be between 0 and 1");
28  params.addParam<int>(
29  "initial_direction", 1, "Direction for the first step. 1 for up... -1 for down. ");
30  params.addParam<bool>("adapt_log", false, "Output adaptive time step log");
31  params.addRequiredParam<Real>("dt", "The timestep size between solves");
32 
33  return params;
34 }
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...