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
should be substepsol!(ts.sol₁, sol, 2*ts.RHS₃, cl.dt) (since substepsol! has a 0.5 in front of dt. Better solution is to rewrite substepsol! without the 0.5 factor.
The last substep of RK4 time-stepper is wrong.
Lines:
FourierFlows.jl/src/timesteppers.jl
Line 205 in 7a929e3
FourierFlows.jl/src/timesteppers.jl
Line 224 in 7a929e3
should be
substepsol!(ts.sol₁, sol, 2*ts.RHS₃, cl.dt)
(sincesubstepsol!
has a0.5
in front ofdt
. Better solution is to rewritesubstepsol!
without the 0.5 factor.@glwagner: I'm submitting a PR to fix this.
The text was updated successfully, but these errors were encountered: