]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /* |
2 | [auto_generated] | |
3 | boost/numeric/odeint/stepper/controlled_step_result.hpp | |
4 | ||
5 | [begin_description] | |
6 | Defines the result type for all controlled stepper. | |
7 | [end_description] | |
8 | ||
9 | Copyright 2011-2013 Karsten Ahnert | |
10 | Copyright 2012 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_CONTROLLED_STEP_RESULT_HPP_INCLUDED | |
19 | #define BOOST_NUMERIC_ODEINT_STEPPER_CONTROLLED_STEP_RESULT_HPP_INCLUDED | |
20 | ||
21 | ||
22 | namespace boost { | |
23 | namespace numeric { | |
24 | namespace odeint { | |
25 | ||
26 | /** | |
27 | * \enum controlled_step_result | |
28 | * | |
29 | * \brief Enum representing the return values of the controlled steppers. | |
30 | */ | |
31 | typedef enum | |
32 | { | |
33 | success , /**< The trial step was successful, hence the state and the time have been advanced. */ | |
34 | fail /**< The step was not successful and might possibly be repeated with a small step size. */ | |
35 | } controlled_step_result; | |
36 | ||
37 | } // namespace odeint | |
38 | } // numeric | |
39 | } // boost | |
40 | ||
41 | ||
42 | #endif // BOOST_NUMERIC_ODEINT_STEPPER_CONTROLLED_STEP_RESULT_HPP_INCLUDED |