Commit Graph

160 Commits

Author SHA1 Message Date
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
Karsten Ahnert
87dae441ef removing old include from external test jamfiles, adding nounused local typedef warning, adding newline to toolset.jam.patch 2014-08-16 14:12:08 +02:00
mariomulansky
0ca187cd6e added unnamed namespace around placeholders
addressing #138
2014-08-15 09:44:56 +02:00
mariomulansky
9473d7f067 added thrust backend vectors to operations_dispatcher 2014-08-01 19:38:45 +02:00
mariomulansky
286b87a872 some cosmetics and more dispatcher specializations 2014-08-01 19:26:03 +02:00
slayoo
ca69d012bb adding thrust resizing macros for thrust::cpp::vector, thrust::omp::vector, thrust::tbb::vector and thrust::cuda::vector (addressing #136) 2014-08-01 14:36:56 +02:00
mariomulansky
ab613676d9 fix double include 2014-07-31 23:03:50 +02:00
mariomulansky
bf7b9f64c9 added macros for thrust resizing, addressing #136 2014-07-31 22:53:52 +02:00
mariomulansky
b3a6581842 fixes #135 2014-07-31 16:08:34 +02:00
mariomulansky
ef35151e09 Merge branch 'master' of github.com:headmyshoulder/odeint-v2 2014-07-11 13:56:00 +02:00
mariomulansky
6e9d680cb5 some fixes for c++11, clang and msvc 2014-07-11 13:55:20 +02:00
Karsten Ahnert
2f021f760c disable the default boost bind placeholders 2014-07-05 11:07:35 +02:00
mariomulansky
26beea5455 Merge branch 'nt2_specializations' of https://github.com/MetaScale/odeint-v2 2014-07-01 19:18:22 +02:00
Mario Mulansky
02e1c223ae Merge pull request #130 from MetaScale/boost_throw_exception
exceptions are handled by BOOST_THROW_EXCEPTION so that the compiler opt...
2014-07-01 18:48:13 +02:00
Karsten Ahnert
b94b3c1b29 Revert "Revert "Merge branch 'sfinae'""
This reverts commit 56a7c4040e.
2014-06-29 22:21:36 +02:00
Karsten Ahnert
56a7c4040e Revert "Merge branch 'sfinae'"
This reverts commit a593879d23, reversing
changes made to d575761ead.
2014-06-29 21:47:24 +02:00
Karsten Ahnert
a593879d23 Merge branch 'sfinae' 2014-06-29 21:31:41 +02:00
alankelly
9728651b50 exceptions are handled by BOOST_THROW_EXCEPTION so that the compiler option fno-exceptions may safely be used 2014-06-26 18:42:45 +02:00
alankelly
31ed4aadde nt2_norm_inf defines the infinity norm of a multi-dimensional matrix in the same manner as eigen - that is the largest absolute value 2014-06-26 17:42:04 +02:00
alankelly
9d0fc0a1b8 norm_inf updated to use new mnorminf function 2014-06-26 15:36:10 +02:00
alankelly
a3b64c2a0b infinity norm on a matrix is defined as the max of the row sums 2014-06-26 15:36:10 +02:00
alankelly
033d5cb76b minimal table header, code cleaned, extent used instead of size for resizing/size comparison 2014-06-26 15:36:10 +02:00
alankelly
a7a39feab9 copyright updated 2014-06-26 15:36:10 +02:00
alankelly
293ab3613c includes corrected 2014-06-26 15:36:10 +02:00
alankelly
21e66fc974 specializations so that nt2 works with odeint 2014-06-26 15:36:10 +02:00
Karsten Ahnert
a756aad694 make two level specialization with sfinae for same_size, resize, copy, algebra_dispatcher, and operation_dispatcher 2014-06-26 15:36:10 +02:00
Karsten Ahnert
329dabcffc adding two level specialization for is_resizeable 2014-06-26 15:36:10 +02:00
wschreyer
0256c2d40e Fix pass-by-reference in bulirsch_stoer_dense_out
bulirsch_stoer_dense_out always passed the ODE system as value to its underlying midpoint method.
2014-06-06 15:42:44 +02:00
Karsten Ahnert
e6730e22bb make two level specialization with sfinae for same_size, resize, copy, algebra_dispatcher, and operation_dispatcher 2014-05-16 09:23:05 +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
f944058b1a boost.adaption: moving include directory 2014-03-26 08:19:56 +01:00