123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #ifndef BOOST_NUMERIC_ODEINT_UTIL_STEPPER_TRAITS_HPP_DEFINED
- #define BOOST_NUMERIC_ODEINT_UTIL_STEPPER_TRAITS_HPP_DEFINED
- #include <boost/numeric/odeint/util/unwrap_reference.hpp>
- namespace boost {
- namespace numeric {
- namespace odeint {
- namespace traits {
- template< class Stepper >
- struct state_type
- {
- typedef typename boost::numeric::odeint::unwrap_reference< Stepper >::type stepper_type;
- typedef typename stepper_type::state_type type;
- };
- template< class Stepper >
- struct time_type
- {
- typedef typename boost::numeric::odeint::unwrap_reference< Stepper >::type stepper_type;
- typedef typename stepper_type::time_type type;
- };
- template< class Stepper >
- struct stepper_category
- {
- typedef typename boost::numeric::odeint::unwrap_reference< Stepper >::type stepper_type;
- typedef typename stepper_type::stepper_category type;
- };
- template< class Stepper >
- struct value_type
- {
- typedef typename boost::numeric::odeint::unwrap_reference< Stepper >::type stepper_type;
- typedef typename stepper_type::value_type type;
- };
- }
- }
- }
- }
- #endif
|