File indexing completed on 2025-01-18 09:42:55
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #ifndef BOOST_NUMERIC_ODEINT_STEPPER_GENERATION_GENERATION_RUNGE_KUTTA_DOPRI5_HPP_INCLUDED
0019 #define BOOST_NUMERIC_ODEINT_STEPPER_GENERATION_GENERATION_RUNGE_KUTTA_DOPRI5_HPP_INCLUDED
0020
0021 #include <boost/numeric/odeint/stepper/controlled_runge_kutta.hpp>
0022 #include <boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp>
0023 #include <boost/numeric/odeint/stepper/runge_kutta_dopri5.hpp>
0024 #include <boost/numeric/odeint/stepper/generation/make_controlled.hpp>
0025 #include <boost/numeric/odeint/stepper/generation/make_dense_output.hpp>
0026
0027 namespace boost {
0028 namespace numeric {
0029 namespace odeint {
0030
0031
0032 template< class State , class Value , class Deriv , class Time , class Algebra , class Operations , class Resize >
0033 struct get_controller< runge_kutta_dopri5< State , Value , Deriv , Time , Algebra , Operations , Resize > >
0034 {
0035 typedef runge_kutta_dopri5< State , Value , Deriv , Time , Algebra , Operations , Resize > stepper_type;
0036 typedef controlled_runge_kutta< stepper_type > type;
0037 };
0038
0039
0040 template< class State , class Value , class Deriv , class Time , class Algebra , class Operations , class Resize >
0041 struct get_dense_output< runge_kutta_dopri5< State , Value , Deriv , Time , Algebra , Operations , Resize > >
0042 {
0043 typedef runge_kutta_dopri5< State , Value , Deriv , Time , Algebra , Operations , Resize > stepper_type;
0044 typedef controlled_runge_kutta< stepper_type > controller_type;
0045 typedef dense_output_runge_kutta< controller_type > type;
0046 };
0047
0048
0049
0050
0051 }
0052 }
0053 }
0054
0055
0056 #endif