headmyshoulder / odeint-v2

odeint - solving ordinary differential equations in c++ v2
http://headmyshoulder.github.com/odeint-v2/
Other
337 stars 102 forks source link

Max step exception #176

Closed mariomulansky closed 8 years ago

mariomulansky commented 8 years ago

added work overflow exceptions as discussed in #174.

Somewhat big changes including design decisions, a quick look would be good I think.

mariomulansky commented 8 years ago

Following your suggestions I've changed the implementation to be "adapter-based". The checker calls are now done from a checked_stepper and reset from a checked_observer. Indeed, this is much cleaner as with this I don't have to touch the integrate implementations. However, I prefer to keep the additional interface of the integrate functions for usability. Furthermore, I added odeint's own exception types.