Commit Graph

1384 Commits

Author SHA1 Message Date
Mario Mulansky
fe00c541a9 added test case for issue #149 2015-01-27 14:06:33 +01:00
Karsten Ahnert
56850b94e5 fixing broken links to github examples 2015-01-27 09:20:27 +01:00
Mario Mulansky
109e9112a8 added missing adams-bashforth test with 8 steps 2015-01-21 14:38:05 +01:00
Mario Mulansky
f5079fb258 add init_stepper as template param to abm stepper
The Adams-Bashforth-Moulton stepper has now also the initializing stepper
as a template parameter.

This allows to get rid of the specific test case for multi-step methods in
order_quadrature_formula. Furthermore, some cosmetic adjustments were made in
this test: global variables, camel case naming, while loop -> for loop.
2015-01-21 13:52:56 +01:00
Mario Mulansky
8c41ee24ba Merge pull request #146 from GregorDeCillia/master
Test certain steppers with the problem x'(t) = t^p
2015-01-21 10:24:09 +01:00
GregorDeCillia
5925f23db7 Update order_quadrature_formula.cpp 2015-01-20 10:32:27 +01:00
Gregor de Cillia
8ee12ec2d1 disable warnings 2015-01-20 01:48:57 +01:00
Gregor de Cillia
c7d40ae0f1 applied recommendations mentioned in #146
* state_type is now a double
* rhs is global
* p is a member of rhs, called exponent
* 'main loop' is of the form
	do{ exponent++; ... } while ( error < tolerance );
2015-01-20 01:43:52 +01:00
Mario Mulansky
4b5a34dd9a fixed adams-bashforth test 2015-01-13 22:09:02 +01:00
Mario Mulansky
d323be0220 renamed do_step_dxdt to do_step_dxdt_impl 2015-01-13 20:20:32 +01:00
Mario Mulansky
82e2a70aa2 fixed adams bashforth test case 2015-01-10 19:34:53 +01:00
Mario Mulansky
8f1d82741b Merge branch 'master' of github.com:headmyshoulder/odeint-v2 2015-01-10 16:20:32 +01:00
Mario Mulansky
4cadbe5164 fixes #147
when state_type == time_type (e.g. 1d odes with state_type = double), some
do_step overloads are disabled due to ambiguities of parameter structure.
However, the initialization of the Adams-Bashforth needs some of those
disabled functions in its initialization. As a fix, I added do_step_dxdt to
the stepper base classes to provide direct access to the required functions
that will not be disabled in the case of state_type == time_type.
2015-01-10 16:17:06 +01:00
Gregor de Cillia
b9fa3d5a1c disable warnings 2014-12-23 01:49:00 +01:00
Gregor de Cillia
732d7770ab change name of test to order quadrature formula,
new console output and more comments in the code
2014-12-23 01:35:49 +01:00
Gregor de Cillia
593652e956 order_of_convergence: new steppers tested
Adams bashforth and adams bashforth moulton methods of order greater than 4 are
tested. Change console output.
2014-12-22 05:08:42 +01:00
Gregor de Cillia
d43fec705f First version of the polynomial test
This test checks, wether solvers of order ord can solve the problem
x'(t) = 1 + t^p
for p<ord with a very high accuracy (10^-13).

This should be the case for linear solvers, see
https://github.com/headmyshoulder/odeint-v2/issues/145
for a discussion about this topic.
2014-12-21 22:13:21 +01:00
Mario Mulansky
fe7afc4fde typo in comment on analytic solution 2014-12-19 11:17:27 -06:00
Mario Mulansky
4c2696719c Merge branch 'master' of github.com:headmyshoulder/odeint-v2 2014-12-19 10:09:19 -06:00
Mario Mulansky
ee3ea15d58 fix #144, including test case
The Adams-Bashforth-Moulton stepper called the corrector step with the wrong time value, as pointed out by GregorDeCillia in Issue #144. This commit fixes this bug and adds a test to check the correct behavior.
2014-12-19 10:06:16 -06:00
Karsten Ahnert
35507d842d fixes bug in stochastic euler example. 2014-11-16 21:02:44 +01:00
Mario Mulansky
9a03751fb7 simd example now support sp precision 2014-11-13 10:03:10 +01:00
Mario Mulansky
2892467c29 revert boost build hack, added note about patch 2014-11-12 12:23:39 +01:00
Mario Mulansky
430fe8183b simd performance now uses aligned memory 2014-11-12 11:07:52 +01:00
Mario Mulansky
da5388eb87 fixed std_array test for gcc 4.6 (travis) 2014-11-12 11:05:47 +01:00
Mario Mulansky
297e3e15e4 remove boost build from travis 2014-11-12 10:02:15 +01:00
Mario Mulansky
54856f3913 fixes #142, fixes boost include issue in bjam 2014-11-12 10:01:05 +01:00
Mario Mulansky
bdf011cc55 added test/numeric to std build 2014-11-11 18:41:14 +01:00
Mario Mulansky
a6b85655b0 update in travis to build boost first 2014-11-11 18:38:47 +01:00
Mario Mulansky
df07f80123 Merge branch 'master' of github.com:headmyshoulder/odeint-v2 2014-11-11 18:32:41 +01:00
Mario Mulansky
f171a84ba7 algebra dispatcher now recognizes dts::array 2014-11-11 18:32:11 +01:00
Karsten Ahnert
61df23d75e fixed https://svn.boost.org/trac/boost/ticket/10499 2014-11-11 17:59:06 +01:00
Mario Mulansky
133fb843d3 generalized array_algebra
array_algebra now works with any Array<T,N> structure
2014-11-11 17:32:58 +01:00
Mario Mulansky
dbc9ae9ae0 N in filenam 2014-11-10 19:09:07 +01:00
Mario Mulansky
7f89890800 typo 2014-11-10 19:07:32 +01:00
Mario Mulansky
8d9645df66 out file name 2014-11-10 19:03:34 +01:00
Mario Mulansky
481601148a ARCH added to Makefile 2014-11-10 19:00:58 +01:00
Mario Mulansky
1b76ef2ed8 test 2014-11-10 18:36:39 +01:00
Mario Mulansky
dcabba3a01 +SIMD performance test 2014-11-10 15:01:25 +01:00
Mario Mulansky
6cf39904a9 c version now prints min time 2014-11-03 14:13:47 +01:00
Mario Mulansky
32a17b9f8a better figure title 2014-11-03 12:49:25 +01:00
Mario Mulansky
c60ab1ac94 +vanilla c version 2014-10-23 11:52:58 +02:00
Mario Mulansky
589bdc45c0 some perf comments 2014-10-17 11:34:37 +02:00
Mario Mulansky
6e41b57ba1 performance test sources 2014-10-17 11:11:05 +02:00
Mario Mulansky
b6ebc0f156 new performance tests 2014-10-17 11:09:24 +02:00
Mario Mulansky
f496df3682 cleaned up thrust Makefile 2014-10-07 13:07:18 +02:00
Mario Mulansky
cc6969cca5 fixing #141 2014-10-07 13:00:20 +02:00
Mario Mulansky
698d624792 delete appvoyer config 2014-09-19 20:14:03 +02:00
Mario Mulansky
bc05380cc5 added appveyor build script 2014-09-19 19:53:51 +02:00
Karsten Ahnert
5eebbb56d8 fixing #140 2014-08-18 21:00:12 +02:00