Class template checked_stepper<Stepper, Checker, stepper_tag>

| Home | Libraries | People | FAQ | More

## Class template checked_stepper<Stepper, Checker, stepper_tag>

boost::numeric::odeint::checked_stepper<Stepper, Checker, stepper_tag> — Adapter to combine basic stepper and checker.

## Synopsis

    // In header: <boost/numeric/odeint/integrate/check_adapter.hpp>

    template<typename Stepper, typename Checker>
    class checked_stepper<Stepper, Checker, stepper_tag> {
    public:
      // types
      typedef Stepper                  stepper_type;
      typedef Checker                  checker_type;
      typedef stepper_type::state_type state_type;
      typedef stepper_type::value_type value_type;
      typedef stepper_type::deriv_type deriv_type;
      typedef stepper_type::time_type  time_type;

      // construct/copy/destruct
      checked_stepper(stepper_type &, checker_type &);

      // public member functions
      template<typename System, typename StateInOut>
        void do_step(System, StateInOut &, const time_type, const time_type);
    };

## Description

### `checked_stepper` public construct/copy/destruct

1.     checked_stepper(stepper_type & stepper, checker_type & checker);

   Construct the checked_stepper.

### `checked_stepper` public member functions

1.     template<typename System, typename StateInOut>
         void do_step(System system, StateInOut & state, const time_type t,
                      const time_type dt);

   forward of the do_step method