Valentin Hartmann
34def567d2
fix initialization with external stepper ( #215 )
...
- time was not increased over the iterations
- prediction of dxdt was taken before integrating with the supplied stepper instead of after
2017-11-12 12:12:17 -08:00
Valentin Hartmann
540f46f42c
Improvement to Order Selection, Error approximation in the ABM stepper ( #218 )
...
* improves the order selection and modifies the error estimation accordingly
- assumes constant stepsize for the next step to approximate error
- moves the complete order adjustment to the class order_adjustment
- slight changes to adaptive_adams_coefficients
* changed the commit according to the requests and comments
2017-09-25 15:22:51 -07:00
ds283
f1098483ea
Switch fabs for std::abs
...
- controlled_adams_bashforth_moulton.hpp, adaptive_adams_coefficients.hpp and pid_step_adjuster.hpp extract absolute values using fabs() without a namespace qualifier
- if the integration value type is not double then this can cause problems, since fabs() is not required to have a long double overload. In such cases it is safer to use std::abs, and also this matches the rest of the odeint-v2 codebase
2017-07-23 22:31:35 +01:00
Valentin Hartmann
11bf5d56c5
replace assignment with boost::copy
2017-07-08 21:21:47 +02:00
Valentin Hartmann
b38159f51a
add relative error to step adjuster
2017-07-07 17:25:26 +02:00
Valentin Hartmann
c673986a13
formatting
2017-07-06 20:07:56 +02:00
Valentin Hartmann
fa6621e43c
updated order selection
2017-07-06 19:38:51 +02:00
Valentin Hartmann
4a3477ed0b
fixed ratio-selection
2017-07-05 17:53:48 +02:00
Valentin Hartmann
ef866e14aa
templating the pid adjuster
2017-07-04 22:03:58 +02:00
Valentin Hartmann
a21f49a736
slight changes to initialization to allow for order correction
2017-07-04 21:15:15 +02:00
Valentin Hartmann
b500829677
enabling negative coefficients
2017-07-04 11:48:55 +02:00
Valentin Hartmann
ca96850106
fixed wrong order assignment when failing a step
2017-07-04 01:21:35 +02:00
Valentin Hartmann
5a6c6bba5c
added detail:: to ref
2017-07-03 16:59:14 +02:00
Valentin Hartmann
12714d481a
fix issues with compiling on travis
2017-07-03 16:43:48 +02:00
Valentin Hartmann
dceea2015a
slight formatting changes
2017-07-03 15:25:51 +02:00
Valentin Hartmann
848d7f1938
completed testcases
2017-07-03 14:42:41 +02:00
Valentin Hartmann
1b767b38d6
adapting tests to new formulation
2017-07-02 19:16:10 +02:00
Valentin Hartmann
a463262c7d
slight changes to stepsize control
2017-07-02 15:16:32 +02:00
Valentin Hartmann
c5aab45386
moving to new formulation
2017-07-02 15:14:09 +02:00
Valentin Hartmann
7fe4477acf
Tests for numeric precision, initializing procedure for steppers
2017-06-23 15:05:20 +02:00
Valentin Hartmann
dc2fbddd7a
added self-initialization to adaptive adams stepper
2017-06-23 11:14:22 +02:00
Valentin Hartmann
92e76299f1
corrected indentation
2017-06-22 17:50:49 +02:00
Valentin Hartmann
d0dad9a53a
changed tabs to spaces in all files
2017-06-22 17:44:49 +02:00
Valentin Hartmann
b29586d9d3
implemented adaptive adams bashforth moulton to enable make_controlled
2017-06-21 18:13:25 +02:00
Valentin Hartmann
16801429c9
modifications to stepper to allow make_controlled
2017-06-20 17:04:15 +02:00
Valentin Hartmann
5fe4175a61
removed print used in debugging
2017-06-19 16:28:29 +02:00
Valentin Hartmann
28b01caee7
minor naming changes
2017-06-19 16:13:58 +02:00
Valentin Hartmann
ca966c2736
compiles without c++11
2017-06-19 10:41:38 +02:00
Valentin Hartmann
fa769dd236
Fixed small bug and added more functionality to the controller
2017-06-19 10:04:37 +02:00
Valentin Hartmann
2f098f7d86
removed tmp-file
2017-05-25 18:45:38 +02:00
Valentin Hartmann
8e2b3c2550
fixed minor things in stepper
2017-05-25 16:40:31 +02:00
Valentin Hartmann
233ebc5792
changes to files to fix warnings
2017-05-24 16:31:40 +02:00
Valentin Hartmann
6a00e946f7
Initial commit from Bitbucket to Github
2017-05-23 09:29:37 +02:00
Denis Demidov
491df811e3
Provide algebra dispatcher for boost::multi_array
...
Fixes #205
2017-05-10 11:35:13 +03:00
Tim Keitt
f1255a8319
Fix unused variable warning
2017-01-26 12:05:53 -06:00
Karsten Ahnert
b816e93fcf
fixing #12107
2016-04-01 21:39:42 +02:00
Mario Mulansky
31c29dd948
fixes #189
...
A bug introduced with the recent max_dt facility prevented the rosenbrock
controller to increase step size in most cases (if max_dt=0). This is fixed
now, and a regression test case has been added.
2016-01-19 15:37:50 +01:00
Mario Mulansky
cc9b1963e7
BS stepper: correct exponents for optimal h
...
Becoming suspicious by the difference of the exponents used for computing the
new step size in the BS and BS denseout stepper (see
0f943fbf8b303a8083876bb1fba677d4c4677417) I checked again the Hairer book and
I'm now convinced there was a mistake in our implementation and both
steppers should use 1/(2*k+1) as exponent. The background is the this exponent
represents the order of the error of the k-th iteration, and this order is
always 2k+1, independent of the interval_sequence. This error is computed from
the difference of the k-th and k-1 - th iteration, which have the orders 2k+2
2k respectively, which means the computed error has order 2k+1.
2015-12-28 15:26:00 +01:00
Martin Langer
a625f532b1
corrected rushed fix
2015-12-28 12:04:39 +01:00
Martin Langer
0f943fbf8b
fixed wrong precomputation in BS dense stepper
2015-12-27 22:42:33 +01:00
Martin Langer
61a74d2bfc
fixed missing semicolon
2015-12-18 16:14:48 +01:00
Martin Langer
607bb768ba
table for precomputed facmin in bulirsch_stoer_dense_out
2015-12-18 15:40:53 +01:00
Martin Langer
cc8c9772ac
table for precomputed facmin in bulirsch_stoer
2015-12-18 15:32:48 +01:00
Mario Mulansky
eb2804b281
resetting optimal order when resetting BS stepper
...
addressing #184 , simple fix is to also reset m_current_k_opt and therefore
make sure the loop doesnt overshoot.
2015-12-10 17:22:44 +01:00
Mario Mulansky
a569bdc0c5
fixing #183
2015-12-10 17:18:09 +01:00
Mario Mulansky
9d02efbff2
added reset to adams bashforth moulton
...
The ABM stepper was missing reset functionality, see #182
2015-12-09 12:51:50 +01:00
Mario Mulansky
1eefa78c96
Bugfix for #144 also in const version
...
Issue #144 has been fixed some time ago, but only for the non-const ref do_step
interface. This fixes also the const ref interface implementation.
2015-12-09 12:09:39 +01:00
Mario Mulansky
0c8e003341
Merge branch 'master' of github.com:headmyshoulder/odeint-v2
...
Conflicts:
test/Jamfile.v2
2015-11-05 21:30:58 -06:00
Mario Mulansky
8385e469ed
removed unnecessary comment
2015-11-02 15:17:54 -06:00
Mario Mulansky
0cba21e14b
updated docstrings in integrate routines
2015-11-02 14:15:16 -06:00