Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59989 - sandbox/odeint/boost/numeric/odeint
From: karsten.ahnert_at_[hidden]
Date: 2010-02-28 05:28:13


Author: karsten
Date: 2010-02-28 05:28:13 EST (Sun, 28 Feb 2010)
New Revision: 59989
URL: http://svn.boost.org/trac/boost/changeset/59989

Log:
revert changes in stepper_euler
Text files modified:
   sandbox/odeint/boost/numeric/odeint/stepper_euler.hpp | 22 ++++++----------------
   1 files changed, 6 insertions(+), 16 deletions(-)

Modified: sandbox/odeint/boost/numeric/odeint/stepper_euler.hpp
==============================================================================
--- sandbox/odeint/boost/numeric/odeint/stepper_euler.hpp (original)
+++ sandbox/odeint/boost/numeric/odeint/stepper_euler.hpp 2010-02-28 05:28:13 EST (Sun, 28 Feb 2010)
@@ -21,7 +21,7 @@
 #include <boost/numeric/odeint/detail/iterator_algebra.hpp>
 #include <boost/numeric/odeint/container_traits.hpp>
 
-#include <boost/numeric/odeint/stepper_base.hpp>
+// #include <boost/numeric/odeint/stepper_base.hpp>
 
 
 namespace boost {
@@ -33,25 +33,15 @@
         class Time = double ,
         class Traits = container_traits< Container >
>
- class stepper_euler : public stepper_base<
- stepper_euler< Container , Time , Traits > ,
- Container ,
- 1 ,
- Time ,
- Traits >
+ class stepper_euler
     {
         // provide basic typedefs
     public:
 
- typedef stepper_base< stepper_euler< Container , Time , Traits > ,
- Container , 1 , Time , Traits > base_type;
 
- typedef typename base_type::time_type time_type;
-// typedef typename base_type::order_type order_type;
-/*
+
         typedef unsigned short order_type;
         typedef Time time_type;
-*/
 
         typedef Traits traits_type;
         typedef typename traits_type::container_type container_type;
@@ -71,7 +61,7 @@
         // public interface
     public:
 
-// order_type order() const { return 1; }
+ order_type order() const { return 1; }
 
 
         template< class DynamicalSystem >
@@ -88,7 +78,7 @@
                                            dt );
         }
 
-/* template< class DynamicalSystem >
+ template< class DynamicalSystem >
         void do_step( DynamicalSystem &system ,
                       container_type &x ,
                       time_type t ,
@@ -97,7 +87,7 @@
             traits_type::adjust_size( x , m_dxdt );
             system( x , m_dxdt , t );
             do_step( system , x , m_dxdt , t , dt );
- }*/
+ }
     };
 
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk