2
0
mirror of https://github.com/boostorg/odeint.git synced 2026-01-19 16:32:12 +00:00

56 Commits

Author SHA1 Message Date
Richard
62bdde9f57 Don't increment iterators beyond the end of the state vector
Fixes #95
2025-12-02 11:45:05 +01:00
Richard
d577f19609 Use x.data instead of x.begin when doing pointer arithmetic
Fixes #93
2025-12-02 08:32:20 +01:00
Richard
1489e27c86 Don't initialize a reference from a temporary in molecular_dynamics_cells
Fixes #99
2025-12-01 19:05:10 +01:00
Richard
40a2c22e26 Add using declarations to bring placeholders _1, _2 into scope
Fixes #97
2025-12-01 17:39:11 +01:00
René Ferdinand Rivera Morell
00381ec23f Add support for modular build structure. (#88)
* Make the library modular usable.

* Switch to library requirements instead of source. As source puts extra source in install targets.

* Update library dependencies.

* Add requires-b2 check to top-level build file.

* Bump B2 require to 5.2

* Change all <source> references to <library>.

* Move inter-lib dependencies to a project variable and into the build targets.

* Switch to /boost/test//included target for header only mode of Boost.Test.

* Update build deps.

* Change math dep real target math/tr1.
2024-08-19 10:27:34 -04:00
Nick
4198d4eb2e Merge pull request #79 from magni-mar/patch-2
Removing unused parameters
2024-05-10 09:20:00 -07:00
Nick
40bb95b7ec Merge pull request #80 from magni-mar/patch-3
Remove unused parameters
2024-05-10 09:19:10 -07:00
magni-mar
c06baee73e Remove unused parameters 2024-05-10 14:49:53 +00:00
magni-mar
3b2ac00963 Remove unused parameters 2024-05-10 14:48:39 +00:00
magni-mar
45f8bc1d33 Removing unused parameters 2024-05-10 14:47:08 +00:00
magni-mar
b50a231588 unused parameters 2024-05-10 11:14:07 +00:00
Matt Borland
5e7d7c38e0 Replace all uses of boost true/false type with std 2024-05-03 08:26:21 +02:00
Matt Borland
e008a015b6 Remove use of Boost.Bind 2023-12-22 08:28:07 -05:00
Matt Borland
8c095fed5b Remove use of boost.static_assert 2023-12-20 15:55:15 +01:00
Matt Borland
ccf0f9278e Remove uses of boost.array 2023-12-20 15:22:56 +01:00
Pavel I. Kryukov
9a21dbe8bd Remove deprecated std::unary_function from molecular_dynamics_cells.cpp 2018-01-17 14:57:48 +03:00
Mario Mulansky
f51691421c Merge branch 'master' of github.com:headmyshoulder/odeint-v2 into develop 2015-11-13 12:30:41 +01:00
Mario Mulansky
270737744b Merge branch 'master' into limit_step_size 2015-11-05 21:16:07 -06:00
Mario Mulansky
f71de757ba added assert checking if resizing is active 2015-11-05 11:21:06 -06:00
Mario Mulansky
ef10d2f314 remove iostream include 2015-11-04 19:51:45 -06:00
Mario Mulansky
5d29e1ec57 Merge branch 'master' of github.com:headmyshoulder/odeint-v2 2015-11-04 19:48:00 -06:00
Mario Mulansky
965a8e456d fixed #180
due to inconsistent template parameter type (int <-> size_t) resizing was not
enabled.
2015-11-04 19:46:17 -06:00
Mario Mulansky
1b55d6f218 add remark in docs about max step size limitation 2015-11-03 13:31:09 -06:00
Mario Mulansky
3ae97129c0 fixed harmonic_oscillator example 2015-10-29 12:21:15 -06:00
Mario Mulansky
a006cb51fa bug fixes regarding the new step adjustment
all tests are now passing
2015-10-23 19:34:22 +02:00
headmyshoulder
98080afe5a Update lorenz_point.cpp 2015-10-22 07:53:34 +02:00
Mario Mulansky
d0bbbe19fa use resize in find_crossing example
the additional state requried in the find_condition function was potentially
not allocated. Now odeint's resizing mechanism is used to ensure the correct
memory allocation.
2015-10-21 17:38:43 +02:00
Mario Mulansky
766d2cb063 +example for event detection, see #9
simple example for an event detection implementation based on dopri5
stepper and simple bisection.
Simple, straight forward implementation, but shouldnt be difficult to adapt
to other problems.
2015-10-21 00:22:46 +02:00
Mario Mulansky
779fa0eac9 Merge branch 'develop' of github.com:boostorg/odeint 2015-07-20 13:22:22 +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
e7f25c0a3b moved openmp.jam into openmp examples folder 2015-06-14 16:12:00 +02:00
Mario Mulansky
127e0dc212 added Makefile to gmpxx example 2015-05-05 12:52:06 +02:00
Karsten Ahnert
f8e467b8ed manual merge 2015-03-18 20:53:11 +01:00
Karsten Ahnert
35507d842d fixes bug in stochastic euler example. 2014-11-16 21:02:44 +01:00
Mario Mulansky
cc6969cca5 fixing #141 2014-10-07 13:00:20 +02:00
Karsten Ahnert
9197519a2d removing old include from example jamfile 2014-08-16 14:14:23 +02:00
Karsten Ahnert
55c843b5dc removing old include from external example jamfiles 2014-08-16 14:13:42 +02:00
mariomulansky
bf7b9f64c9 added macros for thrust resizing, addressing #136 2014-07-31 22:53:52 +02:00
mariomulansky
fb8894c42c fix osx compilation 2014-07-14 10:45:28 +02:00
Karsten Ahnert
28a27fabdc Merge branch 'develop' 2014-07-11 22:00:39 +02:00
mariomulansky
27029e332b disable units example for clang 2014-07-11 19:42:16 +02:00
mariomulansky
6e9d680cb5 some fixes for c++11, clang and msvc 2014-07-11 13:55:20 +02:00
mariomulansky
1cdc33dc9c use correct env variable in nt2 jamfile 2014-07-01 20:04:18 +02:00
mariomulansky
26beea5455 Merge branch 'nt2_specializations' of https://github.com/MetaScale/odeint-v2 2014-07-01 19:18:22 +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
b88c2f389d nt2:tie used to take better advanatge of openmp 2014-06-26 15:36:10 +02:00
alankelly
3f528712b1 parentheses correct on environemtn variable 2014-06-26 15:36:10 +02:00
alankelly
8555a34f5f Jamfiles corrected, gcc specific flags are marked so and NT2_SIMD_FLAGS is read from an environment variable 2014-06-26 15:36:10 +02:00
alankelly
d4500e0f39 instructions added for using NT2/avx 2014-06-26 15:36:10 +02:00
alankelly
387972a60a Jamefile added, copyright updated and loop extended to match original example 2014-06-26 15:36:10 +02:00