Skip to content

Commit

Permalink
Change IceOcean to OceanSeaIce
Browse files Browse the repository at this point in the history
  • Loading branch information
glwagner committed Oct 11, 2023
1 parent baada0a commit d80a9f9
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/ClimaOcean.jl
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@ include("DataWrangling.jl")
include("Diagnostics.jl")
include("NearGlobalSimulations/NearGlobalSimulations.jl")
include("IdealizedSimulations/IdealizedSimulations.jl")
include("IceOceanModel/IceOceanModel.jl")
include("OceanSeaIceModel/OceanSeaIceModel.jl")

end # module
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,4 @@ end
@inline Γ(FT, u★, T★, q★, T₀, qₐ, f) = convert(FT, 0.41) * convert(FT, 9.80655) * f.reference_height / u★^2 *
(T★ / T₀ - q★ / (1/f.gamma_air - qₐ))

end
end
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module IceOceanModel
module OceanSeaIceModel

using Oceananigans.Operators

Expand All @@ -23,15 +23,15 @@ import Oceananigans.Utils: prettytime
const ℒₑ = 2.5e6 # J/kg Latent heat of evaporation
const σᴮ = 5.67e-8 # W/m²/K⁴ Stefan-Boltzmann constant

include("ice_ocean_model.jl")
include("ice_ocean_atmosphere_fluxes.jl")
include("only_ocean_model_fluxes.jl")
include("ocean_sea_ice_model.jl")
include("ocean_sea_ice_atmosphere_fluxes.jl")
include("ocean_only_model_fluxes.jl")
include("AtmosphericForcings.jl")

using .AtmosphericForcings

# Check for NaNs in the first prognostic field (generalizes to prescribed velocitries).
function default_nan_checker(model::IceOceanModel)
function default_nan_checker(model::OceanSeaIceModel)
u_ocean = model.ocean.model.velocities.u
nan_checker = NaNChecker((; u_ocean))
return nan_checker
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ function compute_air_sea_fluxes!(coupled_model::OnlyOceanModel)
grid, clock, fields, forcing, nothing)

return nothing
end
end
File renamed without changes.

0 comments on commit d80a9f9

Please sign in to comment.