Boost C++ Libraries

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

Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

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.

Synopsis

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

template<typename ControlledStepper, typename Checker> 
class checked_stepper<ControlledStepper, Checker, controlled_stepper_tag> {
public:
  // 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> 
    controlled_step_result 
    try_step(System, StateInOut &, time_type &, 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> 
      controlled_step_result 
      try_step(System system, StateInOut & state, time_type & t, time_type & dt);
    forward of the do_step method

PrevUpHomeNext