You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2024. It is now read-only.
I have a few experiments with analytical flow fields that don't behave nicely in some areas and cause the integration to explode (too many integration steps), even with setting larger minimum step sizes.
I would love the ability to set a maximum step number, optionally. something like the following:
(In runge_kutta.jl, line 223
## Integration loop
islaststep =abs(t+dt-tend)<=eps(tend) ?true:false
timeout =0# for step-control
iter =2# the index into tspan and yswhiletrue# check number of iterationsif(maxIterations >0&& iter > maxIterations) #ignore at 0warn("Exceeded maximum number of iterations at #$iter.")
# raise exception here?breakend# ... rest of loop ...end
Apologies if this is already present in some other way and I overlooked it.
Let me know if you want a test case for the problem mentioned at the beginning.