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