1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- #ifndef BOOST_NUMERIC_ODEINT_UTIL_ODEINT_ERROR_HPP_INCLUDED
- #define BOOST_NUMERIC_ODEINT_UTIL_ODEINT_ERROR_HPP_INCLUDED
- #include <stdexcept>
- #include <string>
- namespace boost {
- namespace numeric {
- namespace odeint {
- class odeint_error : public std::runtime_error
- {
- public:
- odeint_error(const std::string &s)
- : std::runtime_error(s)
- { }
- };
- class no_progress_error : public odeint_error
- {
- public:
- no_progress_error(const std::string &s)
- : odeint_error(s)
- { }
- };
- class step_adjustment_error : public odeint_error
- {
- public:
- step_adjustment_error(const std::string &s)
- : odeint_error(s)
- { }
- };
- }
- }
- }
- #endif
|