generation_runge_kutta_cash_karp54.hpp 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. [auto_generated]
  3. boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54.hpp
  4. [begin_description]
  5. Enable the factory functions for the controller and the dense output of the Runge-Kutta-Cash-Karp 54 method.
  6. [end_description]
  7. Copyright 2011 Karsten Ahnert
  8. Copyright 2011 Mario Mulansky
  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_GENERATION_GENERATION_RUNGE_KUTTA_CASH_KARP54_HPP_INCLUDED
  14. #define BOOST_NUMERIC_ODEINT_STEPPER_GENERATION_GENERATION_RUNGE_KUTTA_CASH_KARP54_HPP_INCLUDED
  15. #include <boost/numeric/odeint/stepper/controlled_runge_kutta.hpp>
  16. #include <boost/numeric/odeint/stepper/runge_kutta_cash_karp54.hpp>
  17. #include <boost/numeric/odeint/stepper/generation/make_controlled.hpp>
  18. namespace boost {
  19. namespace numeric {
  20. namespace odeint {
  21. // Specializations for runge_kutta_cash_karp54
  22. template< class State , class Value , class Deriv , class Time , class Algebra , class Operations , class Resize >
  23. struct get_controller< runge_kutta_cash_karp54< State , Value , Deriv , Time , Algebra , Operations , Resize > >
  24. {
  25. typedef runge_kutta_cash_karp54< State , Value , Deriv , Time , Algebra , Operations , Resize > stepper_type;
  26. typedef controlled_runge_kutta< stepper_type > type;
  27. };
  28. } // odeint
  29. } // numeric
  30. } // boost
  31. #endif // BOOST_NUMERIC_ODEINT_STEPPER_GENERATION_GENERATION_RUNGE_KUTTA_CASH_KARP54_HPP_INCLUDED