Changeset 14857 for NEMO/trunk/src
- Timestamp:
- 2021-05-12T18:47:25+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/TRA/traadv_fct.F90
r14834 r14857 164 164 END_3D 165 165 ! !* upstream tracer flux in the k direction *! 166 DO_3D( 1, 1, 1,1, 2, jpkm1 ) ! Interior value ( multiplied by wmask)166 DO_3D( nn_hls-1, nn_hls-1, nn_hls-1, nn_hls-1, 2, jpkm1 ) ! Interior value ( multiplied by wmask) 167 167 zfp_wk = pW(ji,jj,jk) + ABS( pW(ji,jj,jk) ) 168 168 zfm_wk = pW(ji,jj,jk) - ABS( pW(ji,jj,jk) ) … … 171 171 IF( ln_linssh ) THEN ! top ocean value (only in linear free surface as zwz has been w-masked) 172 172 IF( ln_isfcav ) THEN ! top of the ice-shelf cavities and at the ocean surface 173 DO_2D( 1, 1, 1,1 )173 DO_2D( nn_hls-1, nn_hls-1, nn_hls-1, nn_hls-1 ) 174 174 zwz(ji,jj, mikt(ji,jj) ) = pW(ji,jj,mikt(ji,jj)) * pt(ji,jj,mikt(ji,jj),jn,Kbb) ! linear free surface 175 175 END_2D 176 176 ELSE ! no cavities: only at the ocean surface 177 DO_2D( 1, 1, 1,1 )177 DO_2D( nn_hls-1, nn_hls-1, nn_hls-1, nn_hls-1 ) 178 178 zwz(ji,jj,1) = pW(ji,jj,1) * pt(ji,jj,1,jn,Kbb) 179 179 END_2D
Note: See TracChangeset
for help on using the changeset viewer.