Chris@16: /* Chris@16: [auto_generated] Chris@16: boost/numeric/odeint/integrate/detail/integrate_times.hpp Chris@16: Chris@16: [begin_description] Chris@16: Default integrate times implementation. Chris@16: [end_description] Chris@16: Chris@101: Copyright 2011-2012 Mario Mulansky Chris@101: Copyright 2012 Karsten Ahnert Chris@101: Copyright 2012 Christoph Koke Chris@16: Chris@16: Distributed under the Boost Software License, Version 1.0. Chris@16: (See accompanying file LICENSE_1_0.txt or Chris@16: copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: */ Chris@16: Chris@16: Chris@16: #ifndef BOOST_NUMERIC_ODEINT_INTEGRATE_DETAIL_INTEGRATE_TIMES_HPP_INCLUDED Chris@16: #define BOOST_NUMERIC_ODEINT_INTEGRATE_DETAIL_INTEGRATE_TIMES_HPP_INCLUDED Chris@16: Chris@16: #include Chris@16: Chris@16: #include Chris@101: #include Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: Chris@16: Chris@16: namespace boost { Chris@16: namespace numeric { Chris@16: namespace odeint { Chris@16: namespace detail { Chris@16: Chris@16: Chris@16: Chris@16: /* Chris@16: * integrate_times for simple stepper Chris@16: */ Chris@16: template< class Stepper , class System , class State , class TimeIterator , class Time , class Observer > Chris@16: size_t integrate_times( Chris@16: Stepper stepper , System system , State &start_state , Chris@16: TimeIterator start_time , TimeIterator end_time , Time dt , Chris@16: Observer observer , stepper_tag Chris@16: ) Chris@16: { Chris@16: typename odeint::unwrap_reference< Observer >::type &obs = observer; Chris@101: typename odeint::unwrap_reference< Stepper >::type &st = stepper; Chris@101: typedef typename unit_value_type