• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2   [auto_generated]
3   boost/numeric/odeint/util/stepper_traits.hpp
4 
5   [begin_description]
6   tba.
7   [end_description]
8 
9   Copyright 2013 Karsten Ahnert
10   Copyright 2013 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_UTIL_STEPPER_TRAITS_HPP_DEFINED
19 #define BOOST_NUMERIC_ODEINT_UTIL_STEPPER_TRAITS_HPP_DEFINED
20 
21 #include <boost/numeric/odeint/util/unwrap_reference.hpp>
22 
23 
24 namespace boost {
25 namespace numeric {
26 namespace odeint {
27 namespace traits {
28 
29 template< class Stepper >
30 struct state_type
31 {
32     typedef typename boost::numeric::odeint::unwrap_reference< Stepper >::type stepper_type;
33     typedef typename stepper_type::state_type type;
34 };
35 
36 template< class Stepper >
37 struct time_type
38 {
39     typedef typename boost::numeric::odeint::unwrap_reference< Stepper >::type stepper_type;
40     typedef typename stepper_type::time_type type;
41 };
42 
43 template< class Stepper >
44 struct stepper_category
45 {
46     typedef typename boost::numeric::odeint::unwrap_reference< Stepper >::type stepper_type;
47     typedef typename stepper_type::stepper_category type;
48 };
49 
50 template< class Stepper >
51 struct value_type
52 {
53     typedef typename boost::numeric::odeint::unwrap_reference< Stepper >::type stepper_type;
54     typedef typename stepper_type::value_type type;
55 };
56 
57 } // namespace traits
58 } // namespace odeint
59 } // namespace numeric
60 } // namespace boost
61 
62 
63 #endif // BOOST_NUMERIC_ODEINT_UTIL_STEPPER_TRAITS_HPP_DEFINED
64