Skip to content

Commit

Permalink
Add OceanOnlyModel
Browse files Browse the repository at this point in the history
  • Loading branch information
glwagner committed Oct 5, 2023
1 parent 6891c57 commit a108beb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/IceOceanModel/IceOceanModel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import Oceananigans.Simulations: reset!, initialize!, iteration
import Oceananigans.TimeSteppers: time_step!, update_state!, time
import Oceananigans.Utils: prettytime

struct IceOceanModel{FT, C, G, I, O, S, PI, PC} <: AbstractModel{Nothing}
struct IceOceanModel{FT, I, C, G, O, S, PI, PC} <: AbstractModel{Nothing}
clock :: C
grid :: G # TODO: make it so simulation does not require this
ice :: I
Expand All @@ -36,6 +36,7 @@ struct IceOceanModel{FT, C, G, I, O, S, PI, PC} <: AbstractModel{Nothing}
end

const IOM = IceOceanModel
const OceanOnlyModel = IceOceanModel{<:Any, Nothing}

Base.summary(::IOM) = "IceOceanModel"
prettytime(model::IOM) = prettytime(model.clock.time)
Expand Down

0 comments on commit a108beb

Please sign in to comment.