- Timestamp:
- 2019-11-22T15:29:17+01:00 (5 years ago)
- Location:
- NEMO/branches/2019/dev_r11943_MERGE_2019/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11943_MERGE_2019/src
- Property svn:mergeinfo deleted
-
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/ZDF/zdfric.F90
r11536 r11949 112 112 113 113 114 SUBROUTINE zdf_ric( kt, pdept, p_sh2, p_avm, p_avt )114 SUBROUTINE zdf_ric( kt, Kmm, p_sh2, p_avm, p_avt ) 115 115 !!---------------------------------------------------------------------- 116 116 !! *** ROUTINE zdfric *** … … 125 125 !! avt = avm0 / (1 + rn_alp*ri) 126 126 !! with ri = N^2 / dz(u)**2 127 !! = e3w**2 * rn2/[ mi( dk(u b) )+mj( dk(vb) ) ]127 !! = e3w**2 * rn2/[ mi( dk(uu(:,:,:,Kbb)) )+mj( dk(vv(:,:,:,Kbb)) ) ] 128 128 !! avm0= rn_avmri / (1 + rn_alp*Ri)**nn_ric 129 129 !! where ri is the before local Richardson number, … … 152 152 !!---------------------------------------------------------------------- 153 153 INTEGER , INTENT(in ) :: kt ! ocean time-step 154 REAL(wp), DIMENSION(:,:,:), INTENT(in ) :: pdept ! depth of t-point [m]154 INTEGER , INTENT(in ) :: Kmm ! ocean time level index 155 155 REAL(wp), DIMENSION(:,:,:), INTENT(in ) :: p_sh2 ! shear production term 156 156 REAL(wp), DIMENSION(:,:,:), INTENT(inout) :: p_avm, p_avt ! momentum and tracer Kz (w-points) … … 189 189 DO jj = 2, jpjm1 190 190 DO ji = 2, jpim1 191 IF( pdept(ji,jj,jk) < zh_ekm(ji,jj) ) THEN191 IF( gdept(ji,jj,jk,Kmm) < zh_ekm(ji,jj) ) THEN 192 192 p_avm(ji,jj,jk) = MAX( p_avm(ji,jj,jk), rn_wvmix ) * wmask(ji,jj,jk) 193 193 p_avt(ji,jj,jk) = MAX( p_avt(ji,jj,jk), rn_wtmix ) * wmask(ji,jj,jk)
Note: See TracChangeset
for help on using the changeset viewer.