boost - Set a maximum step size in odeint -


i create boost::odeint stepper follows:

auto stepper=boost::numeric::odeint::make_dense_output(0.01/*absolute*/,0.1/*relative*/, boost::numeric::odeint::runge_kutta_dopri5< combinedstate >() ); 

there times during integration of system "lies low" while. during periods seems though integrator increases step size point jumps on areas of interest.

is there way limit integrator's step size never exceeds given maximum?

i sorry, not possible @ moment. nevertheless, if feature important you, copy controlled_runge_kutta stepper different name max_dt_controlled_runge_kutta , insert check maximal time-step hand. code not complicated. have twice, since there exist 2 specializations of controlled_runge_kutta.

if there problems let me know.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -