Skip to content

Commit

Permalink
correct the bug
Browse files Browse the repository at this point in the history
  • Loading branch information
simone-silvestri authored Jan 23, 2025
1 parent 19caa11 commit 0d13e1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 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: RungeKutta3TimeStepper, SplitRungeKutta3TimeStepper, QuasiAdamsBashforth2TimeStepper

import Oceananigans.Fields: set!

Expand Down Expand Up @@ -281,6 +281,7 @@ function set_time_stepper_tendencies!(timestepper, file, model_fields, addr)
end

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

0 comments on commit 0d13e1d

Please sign in to comment.