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
The step size algorithm checks the size of the last integration step and when it is lower than dtmin the warning is displayed and integration is terminated. I understand that it is not a typical case but it causes random code errors. A simple example is below.
Tomas
using DifferentialEquations
# Simple example from DifferentialEquation.jl documentationf(u,p,t) =1.01*u
u0 =1/2
tspan = (0.0,1.0)
prob =ODEProblem(f,u0,tspan)
sol =solve(prob, Tsit5(), reltol=1e-8, abstol=1e-8)
# Change tspan to end integration 1.0e-6 after sol.t[end-1] - the last step is 1e-6
tspan=(0.0,sol.t[end-1]+1e-6)
prob =ODEProblem(f,u0,tspan)
# when the dtmin is higher than the last step (>1.0e-6) the warning is displayed and the integration is terminated
sol =solve(prob, Tsit5(), reltol=1e-8, abstol=1e-8,dtmin=1e-5);
The text was updated successfully, but these errors were encountered:
The step size algorithm checks the size of the last integration step and when it is lower than dtmin the warning is displayed and integration is terminated. I understand that it is not a typical case but it causes random code errors. A simple example is below.
Tomas
The text was updated successfully, but these errors were encountered: