Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71678 - sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta
From: mario.mulansky_at_[hidden]
Date: 2011-05-02 17:25:03


Author: mariomulansky
Date: 2011-05-02 17:25:03 EDT (Mon, 02 May 2011)
New Revision: 71678
URL: http://svn.boost.org/trac/boost/changeset/71678

Log:
perfomance usw...
Text files modified:
   sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/fusion_explicit_error_rk.hpp | 2 +-
   sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/fusion_explicit_rk_new.hpp | 8 ++++----
   2 files changed, 5 insertions(+), 5 deletions(-)

Modified: sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/fusion_explicit_error_rk.hpp
==============================================================================
--- sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/fusion_explicit_error_rk.hpp (original)
+++ sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/fusion_explicit_error_rk.hpp 2011-05-02 17:25:03 EDT (Mon, 02 May 2011)
@@ -43,7 +43,7 @@
     { }
 
     template< class System >
- void do_step( const System &system , state_type &x , double t , const double dt , state_type &x_err )
+ void do_step( System &system , state_type &x , double t , const double dt , state_type &x_err )
     {
         base::do_step( system , x , t , dt );
         // compute error estimate

Modified: sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/fusion_explicit_rk_new.hpp
==============================================================================
--- sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/fusion_explicit_rk_new.hpp (original)
+++ sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/fusion_explicit_rk_new.hpp 2011-05-02 17:25:03 EDT (Mon, 02 May 2011)
@@ -20,7 +20,7 @@
 #include <boost/array.hpp>
 
 #include "fusion_algebra.hpp"
-#include "fusion_foreach_performance.hpp"
+//#include "fusion_foreach_performance.hpp"
 
 namespace mpl = boost::mpl;
 namespace fusion = boost::fusion;
@@ -142,13 +142,13 @@
     template< class System >
     struct calculate_stage
     {
- const System &system;
+ System &system;
         state_type &x , &x_tmp;
         state_type *F;
         const double t;
         const double dt;
 
- calculate_stage( const System &_system , state_type &_x , state_type &_x_tmp , state_type *_F ,
+ calculate_stage( System &_system , state_type &_x , state_type &_x_tmp , state_type *_F ,
                             const double _t , const double _dt )
         : system( _system ) , x( _x ) , x_tmp( _x_tmp ) , F( _F ) , t( _t ) , dt( _dt )
         {}
@@ -193,7 +193,7 @@
 
 
     template< class System >
- void do_step( const System &system , state_type &x , double t , const double dt )
+ void do_step( System &system , state_type &x , double t , const double dt )
     {
         fusion::for_each( m_stages , calculate_stage< System >( system , x , m_x_tmp , m_F , 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