|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71598 - sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta
From: mario.mulansky_at_[hidden]
Date: 2011-04-29 05:03:57
Author: mariomulansky
Date: 2011-04-29 05:03:56 EDT (Fri, 29 Apr 2011)
New Revision: 71598
URL: http://svn.boost.org/trac/boost/changeset/71598
Log:
removed unneccessary dependencies
Text files modified:
sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/fusion_algebra.hpp | 4 ++--
sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/fusion_explicit_rk_new.hpp | 18 ++++--------------
2 files changed, 6 insertions(+), 16 deletions(-)
Modified: sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/fusion_algebra.hpp
==============================================================================
--- sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/fusion_algebra.hpp (original)
+++ sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/fusion_algebra.hpp 2011-04-29 05:03:56 EDT (Fri, 29 Apr 2011)
@@ -36,7 +36,7 @@
/* !!!!!!! Actually, this is factor 3 slower with intel compiler, so we don'y use it !!!!!
* Update: Current implementation increases performance on msvc 9.0 by about 30%, so it is in use again....
- */
+ *
template<>
struct fusion_algebra< 1 >
@@ -107,6 +107,6 @@
}
};
-
+*/
#endif /* FUSION_ALGEBRA_HPP_ */
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-04-29 05:03:56 EDT (Fri, 29 Apr 2011)
@@ -16,17 +16,8 @@
#include <boost/mpl/size_t.hpp>
#include <boost/fusion/container.hpp>
-#include <boost/fusion/algorithm.hpp>
-#include <boost/fusion/sequence.hpp>
-#include <boost/fusion/adapted.hpp>
-
-
-#include <algorithm>
-#include <iostream>
-#include <string>
#include <boost/array.hpp>
-#include <typeinfo>
#include "fusion_algebra.hpp"
@@ -201,8 +192,7 @@
explicit_rk( const coef_a_type &a ,
const coef_b_type &b ,
const coef_c_type &c )
- : m_a( a ) , m_b( b ) , m_c( c ) ,
- m_stages( a , b , c )
+ : m_stages( a , b , c )
{ }
@@ -215,12 +205,12 @@
private:
- const coef_a_type m_a;
- const coef_b_type m_b;
- const coef_c_type m_c;
const stage_vector m_stages;
state_type m_x_tmp;
+
+protected:
state_type m_F[stage_count];
+
};
#endif /* FUSION_EXPLICIT_RK_HPP_ */
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