2
0
mirror of https://github.com/boostorg/odeint.git synced 2026-01-21 05:02:13 +00:00

112 Commits

Author SHA1 Message Date
Matt Borland
b53cf6070b Fix macro logic for Apple clang 2023-12-22 05:45:45 -05:00
Matt Borland
27bd3de5f2 Fix another instance of deprecated-declarations 2023-12-19 13:37:09 +01:00
Matt Borland
3adaad93f9 More maybe-uninitialized 2023-12-19 13:25:47 +01:00
Matt Borland
70fbe0962e Ignore ublas deprecated copy 2023-12-19 12:45:50 +01:00
Matt Borland
6d2759ebf4 Add default init 2023-12-19 12:44:23 +01:00
Matt Borland
b7955fd5e2 Fix GCC-7 -Wmaybe-uninitialized 2023-12-19 11:54:04 +01:00
Matt Borland
53d2ceb8d9 Fix version of -Wpessimizing-move 2023-12-19 11:48:52 +01:00
Matt Borland
d9ffee63f4 Fix additional instance of clang 5 std::array initialization 2023-12-19 11:14:09 +01:00
Matt Borland
4f51498c2c Collected initialization fixes 2023-12-19 10:43:15 +01:00
Matt Borland
74830c0951 Ignore erroneous -Wmaybe-uninitialized 2023-12-19 10:23:24 +01:00
Matt Borland
140354e091 Fix clang 5 initialization of std::array 2023-12-19 10:23:08 +01:00
Matt Borland
e5130f4e37 Disable werror on msvc since boost.test won't compile 2023-12-19 09:58:19 +01:00
Matt Borland
bf6bed433b Fix maybe uninitialized 2023-12-19 09:53:25 +01:00
Matt Borland
9f1b3d6f0f Fix clang versioning of -Wdeprecated-copy 2023-12-18 16:16:43 +01:00
Matt Borland
9182d6b58b Fix pop without push for older clang 2023-12-18 15:36:56 +01:00
Matt Borland
e404092710 Update boost.test header 2023-12-18 14:24:43 +01:00
Matt Borland
0cbdad354f Fixup other jamfiles 2023-12-18 14:21:23 +01:00
Matt Borland
0be9900a88 Require C++14 for bulrisch_stoer since it uses Boost.Math 2023-12-18 13:44:32 +01:00
Matt Borland
e83a6bf0a1 Add versioning to -Wdepreacted copy values 2023-12-18 13:44:16 +01:00
Matt Borland
f1d1ccb665 Fix regression for gcc on ARM 2023-12-18 12:15:01 +01:00
Matt Borland
1e18dc0e77 Remove unused items 2023-12-18 12:14:47 +01:00
Matt Borland
04c7a9b707 Collected warning fixes 2023-12-18 11:59:10 +01:00
Matt Borland
291acb4ca0 Various warning fixes 2023-12-18 11:16:19 +01:00
Matt Borland
175a5ce059 Enable testing for -Wextra -Werror 2023-12-18 11:15:29 +01:00
Matt Borland
202ebd4c9f Fix iterator type mismatch 2023-12-18 08:44:42 +01:00
Matt Borland
d59463b97e Add bigobj for MSVC and mingw 2023-12-18 08:01:44 +01:00
Matt Borland
89a8eec610 Replace deprecated header 2023-12-18 08:01:28 +01:00
Matt Borland
78c491e596 Temporarily disable asan failures 2023-12-15 13:07:39 +01:00
Matt Borland
afe5834aa8 Adjust num_of_steps_expected for Apple ARM architecture 2023-12-15 12:18:09 +01:00
Matt Borland
e0bb3133cf Stricter enforcement of C++11 2023-12-15 11:56:27 +01:00
Matt Borland
c6b12b212f Add testing requirements to Jamfile 2023-12-15 10:42:38 +01:00
Mario Mulansky
2bbc186b43 Merge branch 'develop' of github.com:boostorg/odeint into develop 2019-04-20 11:56:36 -07:00
Mario Mulansky
fc43a2ef44 Merge branch 'master' of github.com:headmyshoulder/odeint-v2 into develop 2019-04-20 11:49:37 -07:00
Mario Mulansky
db8b39ae27 Change eigen algebra to support Eigen>=3.3 (#237)
* Change eigen algebra to support Eigen>=3.3

An internal change in Eigen made odeint incompatible with Eigen
versions >=3.3. This commit changes odeint in such a way that it
does not rely on the changed behvior, so it is now compatible with
old and new Eigen.

Fixes #194

* Remove obsolete Eigen fail compile test

* Remove compile-fail test for C++98 unwrap_reference
2019-03-16 16:20:44 -07:00
Markus Friedrich
5dd9519b7b Enable the adaption of the maximal step size of dense output steppers. (#225)
* Enable the adaption of the maximal step size of dense output steppers.

For efficient simulation of "hybrid" systems the integrator must approach
the sample points where the discrete variables change their value.

(hybrid systems = systems of ODEs which include discrete variables, beeing
internal variables of the system which only change their value at discrete
sample points)

Approaching sample points can be done by adapting the maximal integrator
step size to min(max_step_size, next_sample_point_time - current_time)
before each do_step.

To achive this in odeint for all dense output steppers the following
changes must be done (which does not change the existing API):
- make private members in bulirsch_stoer_dense_out,
  default_step_adjuster, rosenbrock4_controller protected.
- allow std::ref/boost::ref for step_adjuster in controlled_runge_kutta
  and controlled_runge_kutta and for stepper in rosenbrock4_dense_output
  by unwrapping these before use.
This allows to pass the step adjusters by reference to the dense output
steppers which than allows to change the maximal step size (in the step
adjuster) before each call to do_step.

* Added test for a reference controller in the Rosenbrock4 dense output stepper.

* Make in bulirsch_stoer_dense_out only the required m_max_dt member
protected not all.

Extend the test in rosenbrock4.cpp to test that the controller is a
reference and the maximal step size is applied.

* Fixed build with gcc-4.8
2018-02-12 20:13:12 -08:00
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
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
7fe4477acf Tests for numeric precision, initializing procedure for steppers 2017-06-23 15:05:20 +02:00
Valentin Hartmann
d0dad9a53a changed tabs to spaces in all files 2017-06-22 17:44:49 +02:00
Valentin Hartmann
079f3ffa4d fixed problems in testcases 2017-06-21 21:32:18 +02:00
Valentin Hartmann
073e1e0143 more test cases 2017-06-21 18:14:46 +02:00
Valentin Hartmann
ac90a029ce completed testcases 2017-05-25 16:39:57 +02:00
Valentin Hartmann
518f2186ca unittests 2017-05-24 16:31:16 +02:00
Mario Mulansky
c0e1cf30f9 Merge pull request #19 from boostorg/from_headmyshoulder
Merge from headmyshoulder/odeint-v2
2017-05-09 20:57:34 -07:00
Mario Mulansky
67e1908720 Merge branch 'master' into odeint_boost_develop
Merging headmyshoulder/master into boostorg/develop
2017-05-09 20:49:33 -07:00
Mario Mulansky
ff3fd556cb Fix compiler warnings, activate parallel CI build 2017-05-07 13:27:57 -07:00
Mario Mulansky
a452f6e816 Fix abs warnings and clang compiler warning flag 2017-05-07 13:07:10 -07:00
Mario Mulansky
5d3b013955 Update Boost on Travis, fix bug with boost 1.63 2017-05-07 12:40:31 -07:00
Kohei Takahashi
357e5b36e7 Fix missing include. 2016-07-30 16:59:51 +09:00