Skip to content

Commit

Permalink
Hard-code min of SN to be 1.0e-7
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-marques committed Oct 2, 2019
1 parent bcec94c commit 15c9f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parameterizations/lateral/MOM_MEKE.F90
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ subroutine MEKE_equilibrium(CS, MEKE, G, GV, US, SN_u, SN_v, drag_rate_visc, I_m
! Equation 1 of Jansen et al. (2015), balancing the GEOMETRIC GM coefficient against
! bottom drag (Equations 3 and 12)
! TODO: create a run time parameter for limitting SN.
MEKE%MEKE(i,j) = (CS%MEKE_GEOMETRIC_alpha * MIN(SN,1.e-5) * US%Z_to_m*G%bathyT(i,j))**2 / (CS%cdrag**2 * bottomFac2**3)
MEKE%MEKE(i,j) = (CS%MEKE_GEOMETRIC_alpha * MIN(SN,1.e-7) * US%Z_to_m*G%bathyT(i,j))**2 / (CS%cdrag**2 * bottomFac2**3)
else
MEKE%MEKE(i,j) = (US%Z_to_m*G%bathyT(i,j)*SN / (8*CS%cdrag))**2
endif
Expand Down

0 comments on commit 15c9f06

Please sign in to comment.