|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62078 - in sandbox/odeint: boost/numeric boost/numeric/odeint libs/numeric/odeint/doc libs/numeric/odeint/doc/html libs/numeric/odeint/doc/html/boost_numeric_odeint libs/numeric/odeint/examples
From: karsten.ahnert_at_[hidden]
Date: 2010-05-18 04:01:46
Author: karsten
Date: 2010-05-18 04:01:44 EDT (Tue, 18 May 2010)
New Revision: 62078
URL: http://svn.boost.org/trac/boost/changeset/62078
Log:
add reference to the documentation
Text files modified:
sandbox/odeint/boost/numeric/odeint.hpp | 4 +-
sandbox/odeint/boost/numeric/odeint/container_traits_tr1_array.hpp | 2
sandbox/odeint/libs/numeric/odeint/doc/Jamfile | 2
sandbox/odeint/libs/numeric/odeint/doc/html/boost_numeric_odeint/tutorial.html | 47 ++++++++++++++++++++++++++++++++++++++++
sandbox/odeint/libs/numeric/odeint/doc/html/index.html | 3 +
sandbox/odeint/libs/numeric/odeint/doc/tutorial.qbk | 32 +++++++++++++++++++++++++++
sandbox/odeint/libs/numeric/odeint/examples/solar_system.cpp | 4 ++
7 files changed, 88 insertions(+), 6 deletions(-)
Modified: sandbox/odeint/boost/numeric/odeint.hpp
==============================================================================
--- sandbox/odeint/boost/numeric/odeint.hpp (original)
+++ sandbox/odeint/boost/numeric/odeint.hpp 2010-05-18 04:01:44 EDT (Tue, 18 May 2010)
@@ -18,14 +18,14 @@
// #include <boost/config.hpp>
#include <boost/numeric/odeint/container_traits.hpp>
-#include <boost/numeric/odeint/container_traits_tr1_array.hpp>
+// #include <boost/numeric/odeint/container_traits_tr1_array.hpp>
#include <boost/numeric/odeint/stepper_euler.hpp>
#include <boost/numeric/odeint/stepper_half_step.hpp>
#include <boost/numeric/odeint/stepper_rk4.hpp>
#include <boost/numeric/odeint/stepper_rk4_classical.hpp>
#include <boost/numeric/odeint/stepper_rk5_ck.hpp>
-//#include <boost/numeric/odeint/stepper_rk_generic.hpp>
+// #include <boost/numeric/odeint/stepper_rk_generic.hpp>
#include <boost/numeric/odeint/stepper_midpoint.hpp>
#include <boost/numeric/odeint/stepper_rk78_fehlberg.hpp>
Modified: sandbox/odeint/boost/numeric/odeint/container_traits_tr1_array.hpp
==============================================================================
--- sandbox/odeint/boost/numeric/odeint/container_traits_tr1_array.hpp (original)
+++ sandbox/odeint/boost/numeric/odeint/container_traits_tr1_array.hpp 2010-05-18 04:01:44 EDT (Tue, 18 May 2010)
@@ -13,7 +13,7 @@
#ifndef BOOST_NUMERIC_ODEINT_CONTAINER_TRAITS_TR1_ARRAY_HPP_INCLUDED
#define BOOST_NUMERIC_ODEINT_CONTAINER_TRAITS_TR1_ARRAY_HPP_INCLUDED
-#include <tr1/array>
+// #include <boost/tr1/tr1/array>
#include <boost/numeric/odeint/container_traits.hpp>
namespace boost {
Modified: sandbox/odeint/libs/numeric/odeint/doc/Jamfile
==============================================================================
--- sandbox/odeint/libs/numeric/odeint/doc/Jamfile (original)
+++ sandbox/odeint/libs/numeric/odeint/doc/Jamfile 2010-05-18 04:01:44 EDT (Tue, 18 May 2010)
@@ -1,7 +1,7 @@
import quickbook ;
xml odeint :
- odeint.qbk
+ odeint.qbk
;
boostbook standalone :
Modified: sandbox/odeint/libs/numeric/odeint/doc/html/boost_numeric_odeint/tutorial.html
==============================================================================
--- sandbox/odeint/libs/numeric/odeint/doc/html/boost_numeric_odeint/tutorial.html (original)
+++ sandbox/odeint/libs/numeric/odeint/doc/html/boost_numeric_odeint/tutorial.html 2010-05-18 04:01:44 EDT (Tue, 18 May 2010)
@@ -30,6 +30,7 @@
<dt><span class="section"><a href="tutorial.html#boost_numeric_odeint.tutorial.harmonic_oscillator">Harmonic
oscillator</a></span></dt>
<dt><span class="section">Solar system</span></dt>
+<dt><span class="section">References</span></dt>
</dl></div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
@@ -506,6 +507,52 @@
usage of the steppers
</p>
</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_numeric_odeint.tutorial.references"></a><a class="link" href="tutorial.html#boost_numeric_odeint.tutorial.references" title="References">References</a>
+</h3></div></div></div>
+<p>
+ <span class="bold"><strong>General informations about numerical integration of
+ ordinary differential equations:</strong></span>
+ </p>
+<p>
+ [1] Press William H et al., Numerical Recipes 3rd Edition: The Art of Scientific
+ Computing, 3rd ed. (Cambridge University Press, 2007).
+ </p>
+<p>
+ [2] Ernst Hairer, Syvert P. Nørsett, and Gerhard Wanner, Solving Ordinary
+ Differential Equations I: Nonstiff Problems, 2nd ed. (Springer, Berlin, 2009).
+ </p>
+<p>
+ [3] Ernst Hairer and Gerhard Wanner, Solving Ordinary Differential Equations
+ II: Stiff and Differential-Algebraic Problems, 2nd ed. (Springer, Berlin,
+ 2010).
+ </p>
+<p>
+ <span class="bold"><strong>Symplectic integration of numerical integration:</strong></span>
+ </p>
+<p>
+ [4] Ernst Hairer, Gerhard Wanner, and Christian Lubich, Geometric Numerical
+ Integration: Structure-Preserving Algorithms for Ordinary Differential Equations,
+ 2nd ed. (Springer-Verlag Gmbh, 2006).
+ </p>
+<p>
+ [5] Leimkuhler Benedict and Reich Sebastian, Simulating Hamiltonian Dynamics
+ (Cambridge University Press, 2005).
+ </p>
+<p>
+ <span class="bold"><strong>Special symplectic methods:</strong></span>
+ </p>
+<p>
+ [6] Haruo Yoshida, “Construction of higher order symplectic integrators,”
+ Physics Letters A 150, no. 5 (November 12, 1990): 262-268.
+ </p>
+<p>
+ [7] Robert I. McLachlan, “On the numerical integration of ordinary differential
+ equations by symmetric composition methods,” SIAM J. Sci. Comput. 16, no.
+ 1 (1995): 151-168.
+ </p>
+</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
Modified: sandbox/odeint/libs/numeric/odeint/doc/html/index.html
==============================================================================
--- sandbox/odeint/libs/numeric/odeint/doc/html/index.html (original)
+++ sandbox/odeint/libs/numeric/odeint/doc/html/index.html 2010-05-18 04:01:44 EDT (Tue, 18 May 2010)
@@ -46,6 +46,7 @@
<dt><span class="section"><a href="boost_numeric_odeint/tutorial.html#boost_numeric_odeint.tutorial.harmonic_oscillator">Harmonic
oscillator</a></span></dt>
<dt><span class="section">Solar system</span></dt>
+<dt><span class="section">References</span></dt>
</dl></dd>
<dt><span class="section">Stepper</span></dt>
<dd><dl>
@@ -256,7 +257,7 @@
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"><p><small>Last revised: April 27, 2010 at 09:26:26 GMT</small></p></td>
+<td align="left"><p><small>Last revised: May 18, 2010 at 08:09:50 GMT</small></p></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>
Modified: sandbox/odeint/libs/numeric/odeint/doc/tutorial.qbk
==============================================================================
--- sandbox/odeint/libs/numeric/odeint/doc/tutorial.qbk (original)
+++ sandbox/odeint/libs/numeric/odeint/doc/tutorial.qbk 2010-05-18 04:01:44 EDT (Tue, 18 May 2010)
@@ -218,4 +218,36 @@
[endsect]
+[section References]
+
+[*General informations about numerical integration of ordinary differential equations:]
+
+[1] Press William H et al., Numerical Recipes 3rd Edition: The Art of Scientific Computing, 3rd ed. (Cambridge University Press, 2007).
+
+[2] Ernst Hairer, Syvert P. Nørsett, and Gerhard Wanner, Solving Ordinary Differential Equations I: Nonstiff Problems, 2nd ed. (Springer, Berlin, 2009).
+
+[3] Ernst Hairer and Gerhard Wanner, Solving Ordinary Differential Equations II: Stiff and Differential-Algebraic Problems, 2nd ed. (Springer, Berlin, 2010).
+
+
+[*Symplectic integration of numerical integration:]
+
+[4] Ernst Hairer, Gerhard Wanner, and Christian Lubich, Geometric Numerical Integration: Structure-Preserving Algorithms for Ordinary Differential Equations, 2nd ed. (Springer-Verlag Gmbh, 2006).
+
+[5] Leimkuhler Benedict and Reich Sebastian, Simulating Hamiltonian Dynamics (Cambridge University Press, 2005).
+
+
+[*Special symplectic methods:]
+
+[6] Haruo Yoshida, âConstruction of higher order symplectic integrators,â Physics Letters A 150, no. 5 (November 12, 1990): 262-268.
+
+[7] Robert I. McLachlan, âOn the numerical integration of ordinary differential equations by symmetric composition methods,â SIAM J. Sci. Comput. 16, no. 1 (1995): 151-168.
+
+
+
+
+
+
+
+[endsect]
+
[endsect]
Modified: sandbox/odeint/libs/numeric/odeint/examples/solar_system.cpp
==============================================================================
--- sandbox/odeint/libs/numeric/odeint/examples/solar_system.cpp (original)
+++ sandbox/odeint/libs/numeric/odeint/examples/solar_system.cpp 2010-05-18 04:01:44 EDT (Tue, 18 May 2010)
@@ -17,6 +17,7 @@
#include <boost/circular_buffer.hpp>
#include <boost/ref.hpp>
#include <boost/numeric/odeint.hpp>
+#include <boost/numeric/odeint/container_traits_tr1_array.hpp>
#include "point_type.hpp"
@@ -137,6 +138,7 @@
for( size_t i=0 ; i<n ; ++i ) { q[i] -= qmean ; p[i] -= pmean; }
stepper_type stepper;
+ solar_system sol( masses );
const double dt = 100.0;
double t = 0.0;
@@ -151,7 +153,7 @@
cout << endl;
for( size_t i=0 ; i<1 ; ++i,t+=dt )
- stepper.do_step( solar_system( masses ) , q , p , dt );
+ stepper.do_step( sol , q , p , dt );
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