Skip to content

Commit 6e3ea1b

Browse files
committed
correct coupled_driver/ocean_model_MOM.F90 and other cleanup
1 parent 0b99c1f commit 6e3ea1b

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

config_src/coupled_driver/ocean_model_MOM.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ subroutine update_ocean_model(Ice_ocean_boundary, OS, Ocean_sfc, time_start_upda
565565
! For now, the waves are only updated on the thermodynamics steps, because that is where
566566
! the wave intensities are actually used to drive mixing. At some point, the wave updates
567567
! might also need to become a part of the ocean dynamics, according to B. Reichl.
568-
call Update_Surface_Waves(OS%grid, OS%GV, OS%US, OS%time, ocean_coupling_time_step, OS%waves, OS%forces)
568+
call Update_Surface_Waves(OS%grid, OS%GV, OS%US, OS%time, ocean_coupling_time_step, OS%waves)
569569
endif
570570

571571
if ((OS%nstep==0) .and. (OS%nstep_thermo==0)) then ! This is the first call to update_ocean_model.

src/parameterizations/vertical/MOM_diabatic_driver.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ subroutine diabatic(u, v, h, tv, Hml, fluxes, visc, ADp, CDp, dt, Time_end, &
290290
integer :: i, j, k, m, is, ie, js, je, nz
291291
logical :: showCallTree ! If true, show the call tree
292292

293-
real, dimension(SZI_(G),SZJ_(G),SZK_(G)) :: h_in ! thickenss before thermodynamics
293+
real, dimension(SZI_(G),SZJ_(G),SZK_(G)) :: h_in ! thickness before thermodynamics
294294
real, dimension(SZI_(G),SZJ_(G),SZK_(G)) :: t_in ! temperature before thermodynamics
295295
real, dimension(SZI_(G),SZJ_(G),SZK_(G)) :: s_in ! salinity before thermodynamics
296296
real :: t_tend,s_tend,h_tend ! holder for tendencey needed for SPPT
@@ -390,7 +390,7 @@ subroutine diabatic(u, v, h, tv, Hml, fluxes, visc, ADp, CDp, dt, Time_end, &
390390

391391
if (CS%useALEalgorithm .and. CS%use_legacy_diabatic) then
392392
call diabatic_ALE_legacy(u, v, h, tv, Hml, fluxes, visc, ADp, CDp, dt, Time_end, &
393-
G, GV, US, CS, Waves,stochastics=stochastics)
393+
G, GV, US, CS, Waves, stochastics=stochastics)
394394
elseif (CS%useALEalgorithm) then
395395
call diabatic_ALE(u, v, h, tv, Hml, fluxes, visc, ADp, CDp, dt, Time_end, &
396396
G, GV, US, CS, Waves, stochastics=stochastics)

src/parameterizations/vertical/MOM_energetic_PBL.F90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -462,9 +462,9 @@ subroutine energetic_PBL(h_3d, u_3d, v_3d, tv, fluxes, dt, Kd_int, G, GV, US, CS
462462
MLD_io = -1.0
463463
if (CS%MLD_iteration_guess .and. (CS%ML_Depth(i,j) > 0.0)) MLD_io = CS%ML_Depth(i,j)
464464

465-
call ePBL_column(h, u, v, T0, S0, dSV_dT_1d, dSV_dS_1d, TKE_forcing, &
466-
B_flux, absf, u_star, u_star_mean, dt, MLD_io, Kd, mixvel, mixlen, &
467-
GV, US, CS, eCD, dt_diag=dt_diag, Waves=Waves, G=G, &
465+
call ePBL_column(h, u, v, T0, S0, dSV_dT_1d, dSV_dS_1d, TKE_forcing, B_flux, absf, &
466+
u_star, u_star_mean, dt, MLD_io, Kd, mixvel, mixlen, GV, &
467+
US, CS, eCD, dt_diag=dt_diag, Waves=Waves, G=G, &
468468
stochastics=stochastics,i=i, j=j)
469469

470470
! Copy the diffusivities to a 2-d array.

0 commit comments

Comments
 (0)