config.hpp 1.2 KB

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