Skip to content

Commit 897e8a5

Browse files
committed
Only use Langmuir enhanced entrainment where LaSL has a valid value
1 parent ff4db91 commit 897e8a5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

source/vmix_kpp.F90

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2506,9 +2506,10 @@ subroutine bldepth (CVmix_vars, DBLOC, DBSFC, TRCR, UUU, VVV, UCUR, VCUR, &
25062506
do i = 1,nx_block
25072507
ic = (j-1)*nx_block + i
25082508
if (kl.le.CVmix_vars(ic)%nlev) then
2509-
if (IFRAC(i,j,bid) <= 0.05_r8) then
2509+
if (IFRAC(i,j,bid) <= 0.05_r8 .and. LASL(i,j,bid) > c0 .and. &
2510+
LASL(i,j,bid) <= c10) then
25102511
! only use Langmuir enhanced entrainment in ice-free regions
2511-
! where ice fraction is less than 5%
2512+
! where ice fraction is less than 5% and LaSL has a valid value
25122513
RI_BULK(i,j,kdn:kdn) = cvmix_kpp_compute_bulk_Richardson( &
25132514
zt_cntr = (/zgrid(kl)/)*1e-2_r8, &
25142515
ws_cntr = (/WS(i,j)/)*1e-2_r8, &

0 commit comments

Comments
 (0)