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