Skip to content

Commit 4b412e4

Browse files
Update ocean_simulation.jl (#598)
1 parent 268053a commit 4b412e4

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/OceanSimulations/ocean_simulation.jl

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ function default_free_surface(grid::DistributedGrid;
7676
return free_surface
7777
end
7878

79-
default_vertical_coordinate(grid) = Oceananigans.Models.ZCoordinate()
80-
default_vertical_coordinate(::MutableGridOfSomeKind) = Oceananigans.Models.ZStar()
81-
8279
function default_ocean_closure(FT=Oceananigans.defaults.FloatType)
8380
mixing_length = CATKEMixingLength(Cᵇ=0.01)
8481
turbulent_kinetic_energy_equation = CATKEEquation(Cᵂϵ=1.0)
@@ -116,7 +113,6 @@ end
116113
tracer_advection = WENO(order=7),
117114
equation_of_state = TEOS10EquationOfState(; reference_density),
118115
boundary_conditions::NamedTuple = NamedTuple(),
119-
vertical_coordinate = default_vertical_coordinate(grid),
120116
radiative_forcing = default_radiative_forcing(grid),
121117
warn = true,
122118
verbose = false)
@@ -140,7 +136,6 @@ function ocean_simulation(grid;
140136
tracer_advection = WENO(order=7),
141137
equation_of_state = TEOS10EquationOfState(; reference_density),
142138
boundary_conditions::NamedTuple = NamedTuple(),
143-
vertical_coordinate = default_vertical_coordinate(grid),
144139
radiative_forcing = default_radiative_forcing(grid),
145140
warn = true,
146141
verbose = false)
@@ -263,8 +258,7 @@ function ocean_simulation(grid;
263258
free_surface,
264259
coriolis,
265260
forcing,
266-
boundary_conditions,
267-
vertical_coordinate)
261+
boundary_conditions)
268262

269263
ocean = Simulation(ocean_model; Δt, verbose)
270264

0 commit comments

Comments
 (0)