| Home | Libraries | People | FAQ | More

## Class template default_step_adjuster

boost::numeric::odeint::default_step_adjuster

## Synopsis

    // In header: <boost/numeric/odeint/stepper/controlled_runge_kutta.hpp>

    template<typename Value, typename Time>
    class default_step_adjuster {
    public:
      // types
      typedef Time  time_type;
      typedef Value value_type;

      // public member functions
      default_step_adjuster(const time_type = static_cast< time_type >(0));
      time_type decrease_step(time_type, const value_type, const int) const;
      time_type increase_step(time_type, value_type, const int) const;
      bool check_step_size_limit(const time_type);
      time_type get_max_dt();
    };

## Description

### `default_step_adjuster` public member functions

1.     default_step_adjuster(const time_type max_dt = static_cast< time_type >(0));

2.     time_type decrease_step(time_type dt, const value_type error,
                               const int error_order) const;

3.     time_type increase_step(time_type dt, value_type error,
                               const int stepper_order) const;

4.     bool check_step_size_limit(const time_type dt);

5.     time_type get_max_dt();