stepper_categories.hpp 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /*
  2. [auto_generated]
  3. boost/numeric/odeint/stepper/stepper_categories.hpp
  4. [begin_description]
  5. Definition of all stepper categories.
  6. [end_description]
  7. Copyright 2010-2011 Mario Mulansky
  8. Copyright 2010-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_STEPPER_STEPPER_CATEGORIES_HPP_INCLUDED
  14. #define BOOST_NUMERIC_ODEINT_STEPPER_STEPPER_CATEGORIES_HPP_INCLUDED
  15. #include <boost/type_traits/integral_constant.hpp>
  16. namespace boost {
  17. namespace numeric {
  18. namespace odeint {
  19. /*
  20. * Tags to specify stepper types
  21. *
  22. * These tags are used by integrate() to choose which integration method is used
  23. */
  24. struct stepper_tag {};
  25. // struct explicit_stepper_tag : stepper_tag {};
  26. // struct implicit_stepper_tag : stepper_tag {};
  27. struct error_stepper_tag : stepper_tag {};
  28. struct explicit_error_stepper_tag : error_stepper_tag {};
  29. struct explicit_error_stepper_fsal_tag : error_stepper_tag {};
  30. struct controlled_stepper_tag {};
  31. struct explicit_controlled_stepper_tag : controlled_stepper_tag {};
  32. struct explicit_controlled_stepper_fsal_tag : controlled_stepper_tag {};
  33. struct dense_output_stepper_tag {};
  34. template< class tag > struct base_tag ;
  35. template< > struct base_tag< stepper_tag > { typedef stepper_tag type; };
  36. template< > struct base_tag< error_stepper_tag > { typedef stepper_tag type; };
  37. template< > struct base_tag< explicit_error_stepper_tag > { typedef stepper_tag type; };
  38. template< > struct base_tag< explicit_error_stepper_fsal_tag > { typedef stepper_tag type; };
  39. template< > struct base_tag< controlled_stepper_tag > { typedef controlled_stepper_tag type; };
  40. template< > struct base_tag< explicit_controlled_stepper_tag > { typedef controlled_stepper_tag type; };
  41. template< > struct base_tag< explicit_controlled_stepper_fsal_tag > { typedef controlled_stepper_tag type; };
  42. template< > struct base_tag< dense_output_stepper_tag > { typedef dense_output_stepper_tag type; };
  43. } // odeint
  44. } // numeric
  45. } // boost
  46. #endif // BOOST_NUMERIC_ODEINT_STEPPER_STEPPER_CATEGORIES_HPP_INCLUDED