]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /* |
2 | [auto_generated] | |
3 | boost/numeric/odeint/config.hpp | |
4 | ||
5 | [begin_description] | |
6 | Sets configurations for odeint and used libraries. Should be included before any other odeint library | |
7 | [end_description] | |
8 | ||
9 | Copyright 2011-2012 Mario Mulansky | |
10 | Copyright 2011-2012 Karsten Ahnert | |
11 | ||
12 | Distributed under the Boost Software License, Version 1.0. | |
13 | (See accompanying file LICENSE_1_0.txt or | |
14 | copy at http://www.boost.org/LICENSE_1_0.txt) | |
15 | */ | |
16 | ||
17 | #ifndef BOOST_NUMERIC_ODEINT_CONFIG_HPP_INCLUDED | |
18 | #define BOOST_NUMERIC_ODEINT_CONFIG_HPP_INCLUDED | |
19 | ||
20 | ||
21 | //increase macro variable to allow rk78 scheme | |
22 | #ifndef FUSION_MAX_VECTOR_SIZE | |
23 | #define FUSION_MAX_VECTOR_SIZE 15 | |
24 | #endif | |
25 | ||
26 | ||
27 | /* | |
28 | * the following definitions are only required if fusion vectors are used as state types | |
29 | * in the rk78 scheme | |
30 | * they should be defined by the user if required, see e.g. libs/numeric/examples/harmonic_oscillator_units.cpp | |
31 | */ | |
32 | #ifndef BOOST_FUSION_INVOKE_MAX_ARITY | |
33 | #define BOOST_FUSION_INVOKE_MAX_ARITY 15 | |
34 | #endif | |
35 | ||
36 | #ifndef BOOST_RESULT_OF_NUM_ARGS | |
37 | #define BOOST_RESULT_OF_NUM_ARGS 15 | |
38 | #endif | |
39 | ||
40 | ||
41 | ||
42 | ||
43 | ||
44 | #include <boost/config.hpp> | |
45 | ||
46 | #if __cplusplus >= 201103L | |
47 | #define BOOST_NUMERIC_ODEINT_CXX11 1 | |
48 | #endif | |
49 | ||
50 | ||
51 | ||
52 | ||
53 | #endif // BOOST_NUMERIC_ODEINT_CONFIG_HPP_INCLUDED |