- Timestamp:
- 2021-05-07T14:00:45+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2021/dev_r14318_RK3_stage1/src/OCE/DYN/divhor.F90
r14547 r14808 101 101 IF( ln_isf ) CALL isf_hdiv( kt, Kmm, hdiv ) !== + ice-shelf mass exchange ==! 102 102 ! 103 CALL lbc_lnk( 'divhor', hdiv, 'T', 1._wp ) ! (no sign change) 104 ! 103 105 !!gm Patch before suppression of hdiv from all modules that use it 104 DO_3D( 0, 0, 0, 0, 1, jpkm1 ) !== e3t * Horizontal divergence ==! 105 pe3divUh(ji,jj,jk) = hdiv(ji,jj,jk) * e3t(ji,jj,jk,Kmm) 106 END_3D 106 ! DO_3D( 0, 0, 0, 0, 1, jpkm1 ) !== e3t * Horizontal divergence ==! 107 ! pe3divUh(ji,jj,jk) = hdiv(ji,jj,jk) * e3t(ji,jj,jk,Kmm) 108 ! END_3D 109 !JC: over whole domain, and after lbclnk on hdiv to prevent from reproducibility issues 110 DO jk=1, jpkm1 111 pe3divUh(:,:,jk) = hdiv(:,:,jk) * e3t(:,:,jk,Kmm) 112 END DO 107 113 !!gm end 108 114 ! 109 CALL lbc_lnk( 'divhor', hdiv, 'T', 1._wp ) ! (no sign change)110 115 ! 111 116 IF( ln_timing ) CALL timing_stop('div_hor_RK3')
Note: See TracChangeset
for help on using the changeset viewer.