Skip to content

Commit

Permalink
Merge branch 'main' into ss/correct-topologies
Browse files Browse the repository at this point in the history
  • Loading branch information
simone-silvestri authored Jan 23, 2025
2 parents 1605545 + 3e89def commit dc22122
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/OutputWriters/checkpointer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ using Glob
using Oceananigans
using Oceananigans: fields, prognostic_fields
using Oceananigans.Fields: offset_data
using Oceananigans.TimeSteppers: RungeKutta3TimeStepper, QuasiAdamsBashforth2TimeStepper
using Oceananigans.TimeSteppers: QuasiAdamsBashforth2TimeStepper

import Oceananigans.Fields: set!

Expand Down Expand Up @@ -280,7 +280,9 @@ function set_time_stepper_tendencies!(timestepper, file, model_fields, addr)
return nothing
end

set_time_stepper!(timestepper::RungeKutta3TimeStepper, args...) = nothing
# For self-starting timesteppers like RK3 we do nothing
set_time_stepper!(timestepper, args...) = nothing

set_time_stepper!(timestepper::QuasiAdamsBashforth2TimeStepper, args...) =
set_time_stepper_tendencies!(timestepper, args...)

0 comments on commit dc22122

Please sign in to comment.