Skip to content

Commit 16fefa2

Browse files
committed
Merge branch 'param_bugfixes'
2 parents 738e6ee + db098ee commit 16fefa2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/shared/cvmix_kpp.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1425,7 +1425,7 @@ subroutine cvmix_kpp_compute_OBL_depth_low(Ri_bulk, zw_iface, OBL_depth, &
14251425
! Error checks
14261426
! (1) if using Ekman length, need to pass surf_fric and Coriolis
14271427
if ((.not.(present(surf_fric).and.present(Coriolis))).and. &
1428-
CVmix_kpp_params_in%lMonOb) then
1428+
CVmix_kpp_params_in%lEkman) then
14291429
print*, "ERROR: must pass surf_fric and Coriolis if you want to ", &
14301430
"compute Ekman length"
14311431
stop 1

src/shared/cvmix_shear.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ subroutine cvmix_coeffs_shear_low(Mdiff_out, Tdiff_out, RICH, nlev, &
384384
PP_alpha = CVmix_shear_params%PP_alpha
385385
loc_exp = CVmix_shear_params%PP_exp
386386
PP_nu_b = CVmix_shear_params%PP_nu_b
387-
PP_kappa_b = CVmix_shear_params%PP_nu_b
387+
PP_kappa_b = CVmix_shear_params%PP_kappa_b
388388

389389
! Pacanowski-Philander
390390
do kw=1,nlev+1

0 commit comments

Comments
 (0)