controlled_step_result.hpp 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. [auto_generated]
  3. boost/numeric/odeint/stepper/controlled_step_result.hpp
  4. [begin_description]
  5. Defines the result type for all controlled stepper.
  6. [end_description]
  7. Copyright 2011-2013 Karsten Ahnert
  8. Copyright 2012 Mario Mulansky
  9. Distributed under the Boost Software License, Version 1.0.
  10. (See accompanying file LICENSE_1_0.txt or
  11. copy at http://www.boost.org/LICENSE_1_0.txt)
  12. */
  13. #ifndef BOOST_NUMERIC_ODEINT_STEPPER_CONTROLLED_STEP_RESULT_HPP_INCLUDED
  14. #define BOOST_NUMERIC_ODEINT_STEPPER_CONTROLLED_STEP_RESULT_HPP_INCLUDED
  15. namespace boost {
  16. namespace numeric {
  17. namespace odeint {
  18. /**
  19. * \enum controlled_step_result
  20. *
  21. * \brief Enum representing the return values of the controlled steppers.
  22. */
  23. typedef enum
  24. {
  25. success , /**< The trial step was successful, hence the state and the time have been advanced. */
  26. fail /**< The step was not successful and might possibly be repeated with a small step size. */
  27. } controlled_step_result;
  28. } // namespace odeint
  29. } // numeric
  30. } // boost
  31. #endif // BOOST_NUMERIC_ODEINT_STEPPER_CONTROLLED_STEP_RESULT_HPP_INCLUDED