Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72205 - in sandbox/odeint/branches/karsten/boost/numeric/odeint/stepper: . detail
From: karsten.ahnert_at_[hidden]
Date: 2011-05-27 03:33:53


Author: karsten
Date: 2011-05-27 03:33:52 EDT (Fri, 27 May 2011)
New Revision: 72205
URL: http://svn.boost.org/trac/boost/changeset/72205

Log:
fixed errors in adams_moulton
Text files modified:
   sandbox/odeint/branches/karsten/boost/numeric/odeint/stepper/adams_moulton.hpp | 16 ++++++++--------
   sandbox/odeint/branches/karsten/boost/numeric/odeint/stepper/detail/adams_moulton_coefficients.hpp | 36 ++++++++++++++++++------------------
   2 files changed, 26 insertions(+), 26 deletions(-)

Modified: sandbox/odeint/branches/karsten/boost/numeric/odeint/stepper/adams_moulton.hpp
==============================================================================
--- sandbox/odeint/branches/karsten/boost/numeric/odeint/stepper/adams_moulton.hpp (original)
+++ sandbox/odeint/branches/karsten/boost/numeric/odeint/stepper/adams_moulton.hpp 2011-05-27 03:33:52 EDT (Fri, 27 May 2011)
@@ -1,5 +1,5 @@
 /*
- * adam_moulton.hpp
+ * adams_moulton.hpp
  *
  * Created on: May 15, 2011
  * Author: karsten
@@ -47,7 +47,7 @@
         class Operations = default_operations ,
         class AdjustSizePolicy = adjust_size_initially_tag
>
-class adam_moulton
+class adams_moulton
 {
 private:
 
@@ -57,7 +57,7 @@
                 m_size_adjuster.register_state( 0 , m_dxdt );
         }
 
- void copy( const adam_moulton &stepper )
+ void copy( const adams_moulton &stepper )
         {
                 boost::numeric::odeint::copy( stepper.m_dxdt , m_dxdt );
         }
@@ -85,20 +85,20 @@
 
 
 
- adam_moulton( void )
+ adams_moulton( void )
         : m_coefficients() , m_dxdt() , m_size_adjuster()
         {
                 initialize();
         }
 
- adam_moulton( const adam_moulton &stepper )
+ adams_moulton( const adams_moulton &stepper )
         : m_coefficients() , m_dxdt() , m_size_adjuster()
         {
                 initialize();
                 copy( stepper );
         }
 
- adam_moulton& operator=( const adam_moulton &stepper )
+ adams_moulton& operator=( const adams_moulton &stepper )
         {
                 copy( stepper );
                 return *this;
@@ -111,7 +111,7 @@
          * solves the forwarding problem
          */
         template< class System , class StateIn , class StateOut , class ABBuf >
- void do_step( System system , const StateIn &in , const StateOut &out , const time_type &t , const const ABBuf &buf )
+ void do_step( System system , const StateIn &in , const StateOut &out , const time_type &t , const ABBuf &buf )
         {
                 typename boost::unwrap_reference< System >::type &sys = system;
 
@@ -134,7 +134,7 @@
 
         const detail::adams_moulton_coefficients< value_type , steps > m_coefficients;
         deriv_type m_dxdt;
- size_adjuster< deriv_type > m_size_adjuster;
+ size_adjuster< deriv_type , 1 > m_size_adjuster;
 };
 
 

Modified: sandbox/odeint/branches/karsten/boost/numeric/odeint/stepper/detail/adams_moulton_coefficients.hpp
==============================================================================
--- sandbox/odeint/branches/karsten/boost/numeric/odeint/stepper/detail/adams_moulton_coefficients.hpp (original)
+++ sandbox/odeint/branches/karsten/boost/numeric/odeint/stepper/detail/adams_moulton_coefficients.hpp 2011-05-27 03:33:52 EDT (Fri, 27 May 2011)
@@ -1,5 +1,5 @@
 /*
- * adam_moulton_coefficients.hpp
+ * adams_moulton_coefficients.hpp
  *
  * Created on: May 15, 2011
  * Author: karsten
@@ -17,13 +17,13 @@
 namespace detail {
 
 template< class Value , size_t Steps >
-class adam_moulton_coefficients ;
+class adams_moulton_coefficients ;
 
 template< class Value >
-class adam_moulton_coefficients< Value , 1 > : public boost::array< Value , 1 >
+class adams_moulton_coefficients< Value , 1 > : public boost::array< Value , 1 >
 {
 public:
- adam_moulton_coefficients( void )
+ adams_moulton_coefficients( void )
         : boost::array< Value , 1 >()
         {
                 (*this)[0] = static_cast< Value >( 1.0 );
@@ -32,10 +32,10 @@
 
 
 template< class Value >
-class adam_moulton_coefficients< Value , 2 > : public boost::array< Value , 2 >
+class adams_moulton_coefficients< Value , 2 > : public boost::array< Value , 2 >
 {
 public:
- adam_moulton_coefficients( void )
+ adams_moulton_coefficients( void )
         : boost::array< Value , 2 >()
         {
                 (*this)[0] = static_cast< Value >( 1.0 ) / static_cast< Value >( 2.0 );
@@ -45,10 +45,10 @@
 
 
 template< class Value >
-class adam_moulton_coefficients< Value , 3 > : public boost::array< Value , 3 >
+class adams_moulton_coefficients< Value , 3 > : public boost::array< Value , 3 >
 {
 public:
- adam_moulton_coefficients( void )
+ adams_moulton_coefficients( void )
         : boost::array< Value , 3 >()
         {
                 (*this)[0] = static_cast< Value >( 5.0 ) / static_cast< Value >( 12.0 );
@@ -59,10 +59,10 @@
 
 
 template< class Value >
-class adam_moulton_coefficients< Value , 4 > : public boost::array< Value , 4 >
+class adams_moulton_coefficients< Value , 4 > : public boost::array< Value , 4 >
 {
 public:
- adam_moulton_coefficients( void )
+ adams_moulton_coefficients( void )
         : boost::array< Value , 4 >()
         {
                 (*this)[0] = static_cast< Value >( 3.0 ) / static_cast< Value >( 8.0 );
@@ -74,10 +74,10 @@
 
 
 template< class Value >
-class adam_moulton_coefficients< Value , 5 > : public boost::array< Value , 5 >
+class adams_moulton_coefficients< Value , 5 > : public boost::array< Value , 5 >
 {
 public:
- adam_moulton_coefficients( void )
+ adams_moulton_coefficients( void )
         : boost::array< Value , 5 >()
         {
                 (*this)[0] = static_cast< Value >( 251.0 ) / static_cast< Value >( 720.0 );
@@ -90,10 +90,10 @@
 
 
 template< class Value >
-class adam_moulton_coefficients< Value , 6 > : public boost::array< Value , 6 >
+class adams_moulton_coefficients< Value , 6 > : public boost::array< Value , 6 >
 {
 public:
- adam_moulton_coefficients( void )
+ adams_moulton_coefficients( void )
         : boost::array< Value , 6 >()
         {
                 (*this)[0] = static_cast< Value >( 95.0 ) / static_cast< Value >( 288.0 );
@@ -106,10 +106,10 @@
 };
 
 template< class Value >
-class adam_moulton_coefficients< Value , 7 > : public boost::array< Value , 7 >
+class adams_moulton_coefficients< Value , 7 > : public boost::array< Value , 7 >
 {
 public:
- adam_moulton_coefficients( void )
+ adams_moulton_coefficients( void )
         : boost::array< Value , 7 >()
         {
                 (*this)[0] = static_cast< Value >( 19087.0 ) / static_cast< Value >( 60480.0 );
@@ -124,10 +124,10 @@
 
 
 template< class Value >
-class adam_moulton_coefficients< Value , 8 > : public boost::array< Value , 8 >
+class adams_moulton_coefficients< Value , 8 > : public boost::array< Value , 8 >
 {
 public:
- adam_moulton_coefficients( void )
+ adams_moulton_coefficients( void )
         : boost::array< Value , 8 >()
         {
                 (*this)[0] = static_cast< Value >( 5257.0 ) / static_cast< Value >( 17280.0 );


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