181 Commits

Author SHA1 Message Date
Mario Mulansky
260d848288 refined the exception 2015-10-09 09:51:00 +02:00
Mario Mulansky
fa6a914f1a added overflow exception to other integrate funcs
following the previous additions for integrate_const now also
integrate_n_steps and integrate_times support max_step overflow
exceptions.
2015-10-08 12:57:56 +02:00
Mario Mulansky
44576c3dab add checker reset in integrate_const 2015-10-06 18:06:36 +02:00
Mario Mulansky
23ffb209fa added overflow exception to integrate_const
Following the discussion in #173, the integrate_const function now
provide a mechanisms to check for TOO_MUCH_WORK situations where too
many steps are performed without any progress (i.e. observer calls).
Naturally, this only makes sense for controlled steppers or dense
output steppers.
Also, integrate_adaptive functions do not require such functionality as
there observer calls happen at every time step.
Hence, only integrate_n_steps and integrate_times will be adapted shortly
2015-10-06 17:26:18 +02:00
Mario Mulansky
703350b223 consistent counting of failed steps
the code in integrate_times for a controlled stepper and in the dense out
stepper was inconsistent in terms of when exactly to throw the exception.
See #173 for some discussion on this.
2015-10-05 17:03:08 +02:00
Björn Dahlgren
95b1030f27 Apply static_cast<value_type>(...) to numerators in calc_h_opt() 2015-08-31 16:48:13 +02:00
Björn Dahlgren
62c8f4d670 Fix bug in bulirsch_stoer_dense_out.hpp when using multiprecision data types 2015-08-30 14:56:59 +02:00
Mario Mulansky
86f1a632ca Merge pull request #10 from nasailja/patch-1
Fix compilation warning
2015-08-22 19:12:40 +02:00
headmyshoulder
3d9de3519c Merge pull request #14 from nasailja/patch-5
Remove unused parameter warnings
2015-08-19 07:05:55 +02:00
headmyshoulder
dfba50ff70 Merge pull request #13 from nasailja/patch-4
Remove unused parameter warnings
2015-08-19 07:02:01 +02:00
headmyshoulder
551ef7f815 Merge pull request #12 from nasailja/patch-3
Remove unused parameter warnings
2015-08-19 07:01:54 +02:00
Ilja
836a88913b Remove unused parameter warnings 2015-08-18 14:16:07 -04:00
Ilja
55cadcd747 Remove unused parameter warnings 2015-08-18 14:15:29 -04:00
Ilja
c04ad7c090 Remove unused parameter warnings 2015-08-18 14:14:42 -04:00
Ilja
1e08fee9ce Remove unused parameter warnings 2015-08-18 14:13:45 -04:00
Ilja
d4221d9417 Fix compilation warning
warning: struct template 'reference_wrapper' was previously declared as a class template [-Wmismatched-tags]
include/boost/core/ref.hpp:59:25: note: previous use is here
2015-08-18 14:11:45 -04:00
Mario Mulansky
f312a809c8 remove const-ness from bulirsch-stoer members
addressing #149
2015-07-10 13:04:25 +02:00
Karsten Ahnert
fbd9ed0010 Merge branch 'master' of https://github.com/headmyshoulder/odeint-v2 into develop 2015-07-09 22:01:48 +02:00
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
Mario Mulansky
45fd4331c2 fix #166
use correct iterator (const) in norm_inf of openmp_range_algebra.
2015-06-14 16:23:54 +02:00
Mario Mulansky
656e1466cf Merge pull request #161 from ds283/bulirsch-stoer-segfault
Adjust allocation of bulirsch_stoer_dense_out::m_diffs to avoid segmentation fault
2015-04-23 12:03:55 +02:00
David Seery
3625ae1ef1 Adjust allocation of bulirsch_stoer_dense_out::m_diffs to avoid segmentation fault 2015-04-22 11:57:17 +01:00
Arash
25febac10b Update integrate_adaptive.hpp
This assignment inside the while loop is redundant.
2015-04-22 14:32:01 +10:00
David Seery
d7d2dd5743 Fix formatting 2015-04-19 12:51:54 +01:00
David Seery
307aff4f5e Switch <iterator>-1 for --<iterator> in integrate_times() to allow use with bidirectional iterators 2015-04-19 09:21:45 +01:00
Karsten Ahnert
69d6b39e32 Merge branch 'develop' of https://github.com/boostorg/odeint into develop 2015-03-09 07:01:46 +01:00
Karsten Ahnert
9a14adf963 using using std::max 2015-03-08 21:53:13 +01:00
akumta
c5b3053f84 Update implicit_euler.hpp
Per ticket 11081.
2015-03-06 11:57:58 -08:00
Karsten Ahnert
304a1d459b fixes Trac Ticket #11011 2015-02-12 10:32:14 +01:00
Mario Mulansky
f9c7763eda doxygen text 2015-02-01 18:14:09 +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
Karsten Ahnert
d3ca31a8e3 removing warnings, see track ticket #10931 2015-01-29 23:27:44 +01:00
Karsten Ahnert
4adf0b0f80 fixes #150 2015-01-29 21:45:06 +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
d323be0220 renamed do_step_dxdt to do_step_dxdt_impl 2015-01-13 20: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
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
54856f3913 fixes #142, fixes boost include issue in bjam 2014-11-12 10:01:05 +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
589bdc45c0 some perf comments 2014-10-17 11:34:37 +02:00
Mario Mulansky
b6ebc0f156 new performance tests 2014-10-17 11:09:24 +02:00
Mario Mulansky
cc6969cca5 fixing #141 2014-10-07 13:00:20 +02:00
Karsten Ahnert
5eebbb56d8 fixing #140 2014-08-18 21:00:12 +02:00
Karsten Ahnert
b497ca56de adding documentation for second integrate version 2014-08-16 21:07:35 +02:00
Karsten Ahnert
d81e685e73 Merge branch 'master' of github.com:headmyshoulder/odeint-v2 2014-08-16 21:05:30 +02:00
Karsten Ahnert
720a926e45 fixes #139 2014-08-16 21:05:16 +02:00