www.mooseframework.org
Classes | Namespaces | Functions
DT2.h File Reference

Go to the source code of this file.

Classes

class  libMesh::NumericVector< T >
 
class  DT2
 An adaptive timestepper that compares the solution obtained from a single step of size dt with two steps of size dt/2 and adjusts the next timestep accordingly. More...
 

Namespaces

 libMesh
 The following methods are specializations for using the libMesh::Parallel::packed_range_* routines for std::strings.
 

Functions

template<>
InputParameters validParams< DT2 > ()
 

Function Documentation

template<>
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.");
41 
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...