generation_runge_kutta_cash_karp54_classic.hpp 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. [auto_generated]
  3. boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54_classic.hpp
  4. [begin_description]
  5. Enable the factory functions for the controller and the dense output of the
  6. Runge-Kutta-Cash-Karp 54 method with the classical implementation.
  7. [end_description]
  8. Copyright 2011 Karsten Ahnert
  9. Copyright 2011 Mario Mulansky
  10. Distributed under the Boost Software License, Version 1.0.
  11. (See accompanying file LICENSE_1_0.txt or
  12. copy at http://www.boost.org/LICENSE_1_0.txt)
  13. */
  14. #ifndef BOOST_NUMERIC_ODEINT_STEPPER_GENERATION_GENERATION_RUNGE_KUTTA_CASH_KARP54_CLASSIC_HPP_INCLUDED
  15. #define BOOST_NUMERIC_ODEINT_STEPPER_GENERATION_GENERATION_RUNGE_KUTTA_CASH_KARP54_CLASSIC_HPP_INCLUDED
  16. #include <boost/numeric/odeint/stepper/controlled_runge_kutta.hpp>
  17. #include <boost/numeric/odeint/stepper/runge_kutta_cash_karp54_classic.hpp>
  18. #include <boost/numeric/odeint/stepper/generation/make_controlled.hpp>
  19. namespace boost {
  20. namespace numeric {
  21. namespace odeint {
  22. // Specializations for runge_kutta_cash_karp54
  23. template< class State , class Value , class Deriv , class Time , class Algebra , class Operations , class Resize >
  24. struct get_controller< runge_kutta_cash_karp54_classic< State , Value , Deriv , Time , Algebra , Operations , Resize > >
  25. {
  26. typedef runge_kutta_cash_karp54_classic< State , Value , Deriv , Time , Algebra , Operations , Resize > stepper_type;
  27. typedef controlled_runge_kutta< stepper_type > type;
  28. };
  29. } // odeint
  30. } // numeric
  31. } // boost
  32. #endif // BOOST_NUMERIC_ODEINT_STEPPER_GENERATION_GENERATION_RUNGE_KUTTA_CASH_KARP54_CLASSIC_HPP_INCLUDED