Subject: [Boost-bugs] [Boost C++ Libraries] #10946: Add dt to system arguments
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-01-20 17:25:03
#10946: Add dt to system arguments
-------------------------------+---------------------
Reporter: ilja.j.honkonen@⦠| Owner: karsten
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: odeint
Version: Boost 1.57.0 | Severity: Problem
Keywords: |
-------------------------------+---------------------
A popular algorithm for calculating the change in velocity of a charged
particle in a magnetic field (1) requires the length of the time step
while integrating (dx/dt := f(x,t,dt)) and cannot be used with odeint as
far as I could tell so I suggest modifying the definition of system from
sys( x , dxdt , t ) to sys( x , dxdt , t , dt ). Some enable_if magic
should allow all existing code using the current API to work.
(1) Equations 25 and 26 in
(h)ttp://www.dtic.mil/dtic/tr/fulltext/u2/a023511.pdf
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10946> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC