headmyshoulder / odeint-v2

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

Limit step size #177

Closed mariomulansky closed 8 years ago

mariomulansky commented 8 years ago

Extends the error_checker to also handle step size adjustment, which was done before in the try_step method. Furthermore, the default_error_checker now provides the possibility to limit the step size to some maximal value, independent from the error. This has been requested in #122

mariomulansky commented 8 years ago

step adjustement has been refactored into it's own class. step size limiting functionality has been added to bulirsch stoer and rosenbrock steppers. with this, step size limiting is now available in all controlled/dense_out steppers. a doc-chapter dedicated to this should be added though.