Replies: 1 comment 3 replies
-
I felt that this pattern is more clear because we see immediately the meaning of the different storage variables without having to find and read the function |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any reason we can't add the
last_Δt
andlast_stage_Δt
updates totick!
since its a bit of a mess without?Oceananigans.jl/src/TimeSteppers/quasi_adams_bashforth_2.jl
Lines 106 to 107 in 7f2d512
Oceananigans.jl/src/TimeSteppers/runge_kutta_3.jl
Lines 125 to 126 in 7f2d512
tick!
could have kwargsfinal_stage
which does the same as in the AB2 step if true and just updates the stage if not.CC: @glwagner
Beta Was this translation helpful? Give feedback.
All reactions