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

Go to the source code of this file.

Classes

class  libMesh::NumericVector< T >
 
class  AB2PredictorCorrector
 A TimeStepper based on the AB2 method. More...
 

Namespaces

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

Functions

template<>
InputParameters validParams< AB2PredictorCorrector > ()
 

Function Documentation

Definition at line 35 of file AB2PredictorCorrector.C.

36 {
38  params.addRequiredParam<Real>("e_tol", "Target error tolerance.");
39  params.addRequiredParam<Real>("e_max", "Maximum acceptable error.");
40  params.addRequiredParam<Real>("dt", "Initial time step size");
41  params.addParam<Real>("max_increase", 1.0e9, "Maximum ratio that the time step can increase.");
42  params.addParam<int>(
43  "steps_between_increase", 1, "the number of time steps before recalculating dt");
44  params.addParam<int>("start_adapting", 2, "when to start taking adaptive time steps");
45  params.addParam<Real>("scaling_parameter", .8, "scaling parameter for dt selection");
46  return params;
47 }
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...