From a108beb2865507d6e702b3b27453fc2b8476d431 Mon Sep 17 00:00:00 2001 From: Gregory Wagner Date: Thu, 5 Oct 2023 12:15:29 -0400 Subject: [PATCH] Add OceanOnlyModel --- src/IceOceanModel/IceOceanModel.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/IceOceanModel/IceOceanModel.jl b/src/IceOceanModel/IceOceanModel.jl index d4b9696e..ccac5b12 100644 --- a/src/IceOceanModel/IceOceanModel.jl +++ b/src/IceOceanModel/IceOceanModel.jl @@ -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 @@ -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)