Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
Boost C++ Libraries Home Libraries People FAQ More


Class template checked_stepper<ControlledStepper, Checker, controlled_stepper_tag>

boost::numeric::odeint::checked_stepper<ControlledStepper, Checker, controlled_stepper_tag> — Adapter to combine controlled stepper and checker.


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

template<typename ControlledStepper, typename Checker> 
class checked_stepper<ControlledStepper, Checker, controlled_stepper_tag> {
  // types
  typedef ControlledStepper        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> 
    try_step(System, StateInOut &, time_type &, time_type &);


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> 
      try_step(System system, StateInOut & state, time_type & t, time_type & dt);
    forward of the do_step method