94 Commits

Author SHA1 Message Date
Mario Mulansky
ff755ff96e fixes #168
fixed bug in less_eq_with_sign. equality was not correctly checked for, which
resulted in wrong behavior when the numeric type had
std::numeric_limits<T>::epsilon() == 0.
2015-06-29 15:27:44 +02:00
akumta
c7895bbed9 Update integrate_implicit.cpp
Per ticket# 10928.
2015-03-03 14:05:10 -08:00
akumta
2ae720f494 Update rosenbrock.cpp
Update for ticket# 10929.
2015-02-25 12:26:51 -08:00
Karsten Ahnert
8f6ef31acd adding test for adjust size of bulirsch stoer 2015-02-12 10:36:41 +01:00
Mario Mulansky
c23fdbeb8f extrapolation stepper as init stepper for abm
extrapolation stepper has a configurable order, so we can use it as
initializing stepper in the adams-bashforth algorithm. All numeric tests pass.
2015-02-01 18:08:39 +01:00
Mario Mulansky
0721600e50 new extrapolation stepper 2015-02-01 16:32:18 +01:00
Mario Mulansky
2b42b359d4 added test case for velocity-verlet #150
Test numerical accuracy of the velocity verlet method using a harmonic
oscillator.
2015-01-31 14:27:25 +01:00
Karsten Ahnert
d3ca31a8e3 removing warnings, see track ticket #10931 2015-01-29 23:27:44 +01:00
Mario Mulansky
54a601d679 fixed compiler flag 2015-01-27 16:35:30 +01:00
Mario Mulansky
fe00c541a9 added test case for issue #149 2015-01-27 14:06:33 +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
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
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
Mario Mulansky
2892467c29 revert boost build hack, added note about patch 2014-11-12 12:23:39 +01:00
Mario Mulansky
da5388eb87 fixed std_array test for gcc 4.6 (travis) 2014-11-12 11:05:47 +01:00
Mario Mulansky
54856f3913 fixes #142, fixes boost include issue in bjam 2014-11-12 10:01:05 +01:00
Mario Mulansky
a6b85655b0 update in travis to build boost first 2014-11-11 18:38:47 +01:00
Mario Mulansky
f171a84ba7 algebra dispatcher now recognizes dts::array 2014-11-11 18:32:11 +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
Karsten Ahnert
720a926e45 fixes #139 2014-08-16 21:05:16 +02:00
Karsten Ahnert
9197519a2d removing old include from example jamfile 2014-08-16 14:14:23 +02:00
mariomulansky
1d2ffe4bb9 new approach to travis clang build 2014-07-11 18:48:07 +02:00
mariomulansky
6139643899 change c++11 to c++0x to work with gcc-4.6 2014-07-11 14:17:39 +02:00
mariomulansky
6e9d680cb5 some fixes for c++11, clang and msvc 2014-07-11 13:55:20 +02:00
Karsten Ahnert
b94b3c1b29 Revert "Revert "Merge branch 'sfinae'""
This reverts commit 56a7c4040e4fc3d787d8df1d485f9a77d418e5a2.
2014-06-29 22:21:36 +02:00
Karsten Ahnert
56a7c4040e Revert "Merge branch 'sfinae'"
This reverts commit a593879d237d3fb08572b1d23385b8bf895ae8e4, reversing
changes made to d575761eada1eb91b33532b2cdd080357f5787d8.
2014-06-29 21:47:24 +02:00
Karsten Ahnert
d0257efa4a adding two level specialization for is_resizeable 2014-05-13 18:06:53 +02:00
Karsten Ahnert
8898080167 Merge branch 'master' into boost_integ 2014-04-09 08:42:58 +02:00
Karsten Ahnert
ba23a4d558 correcting order of includes 2014-04-02 09:39:35 +02:00
Karsten Ahnert
b651d7ad42 tmp commit, include order is not working 2014-04-01 10:19:01 +02:00
Karsten Ahnert
bb8716dce7 boost.adaption: moving test directory 2014-03-26 08:20:59 +01:00