Changeset 14260
- Timestamp:
- 2021-01-05T14:35:55+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r14122_ENHANCE-14_smueller_OSMOSIS_streamlining/src/OCE/ZDF/zdfosm.F90
r14149 r14260 1681 1681 zpe_mle_ref = 0._wp 1682 1682 DO jk = ibld(ji,jj), mld_prof(ji,jj) 1683 zthermal = rab_n(ji,jj,jk,jp_tem) 1684 zbeta = rab_n(ji,jj,jk,jp_sal) 1683 1685 zbuoy = grav * ( zthermal * ts(ji,jj,jk,jp_tem,Kmm) - zbeta * ts(ji,jj,jk,jp_sal,Kmm) ) 1684 1686 zpe_mle_layer = zpe_mle_layer + zbuoy * gdepw(ji,jj,jk,Kmm) * e3w(ji,jj,jk,Kmm) … … 1715 1717 lpyc(ji,jj) = .FALSE. 1716 1718 ELSE 1717 lpyc = .TRUE.1719 lpyc(ji,jj) = .TRUE. 1718 1720 ENDIF 1719 1721 ELSE … … 2373 2375 ! calculate horizontal gradients at u & v points 2374 2376 2377 zmld_midu(:,:) = 0.0_wp 2378 ztsm_midu(:,:,:) = 0.0_wp 2375 2379 DO_2D( 0, 0, 1, 0 ) 2376 2380 zdtdx(ji,jj) = ( ztm(ji+1,jj) - ztm( ji,jj) ) * umask(ji,jj,1) / e1u(ji,jj) … … 2381 2385 END_2D 2382 2386 2387 zmld_midv(:,:) = 0.0_wp 2388 ztsm_midv(:,:,:) = 0.0_wp 2383 2389 DO_2D( 1, 0, 0, 0 ) 2384 2390 zdtdy(ji,jj) = ( ztm(ji,jj+1) - ztm( ji,jj) ) * vmask(ji,jj,1) / e1v(ji,jj)
Note: See TracChangeset
for help on using the changeset viewer.