Changeset 14476
- Timestamp:
- 2021-02-17T18:39:56+01:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/DIA/diawri.F90
r14239 r14476 251 251 ENDIF 252 252 253 IF( ln_zad_Aimp ) ww = ww + wi ! Recombine explicit and implicit parts of vertical velocity for diagnostic output 254 CALL iom_put( "woce", ww ) ! vertical velocity 253 ! ! vertical velocity 254 IF( ln_zad_Aimp ) THEN ; CALL iom_put( "woce", ww + wi ) ! explicit plus implicit parts 255 ELSE ; CALL iom_put( "woce", ww ) 256 ENDIF 255 257 256 258 IF( iom_use('w_masstr') .OR. iom_use('w_masstr2') ) THEN ! vertical mass transport & its square value 257 ! Caution: in the VVL case, it only correponds to the baroclinic mass transport. 258 z2d(:,:) = rho0 * e1e2t(:,:) 259 ! ! Caution: in the VVL case, it only correponds to the baroclinic mass transport. 259 260 DO jk = 1, jpk 260 z3d(:,:,jk) = ww(:,:,jk) * z2d(:,:) 261 IF( ln_zad_Aimp ) THEN 262 z3d(:,:,jk) = rho0 * e1e2t(:,:) * ( ww(:,:,jk) + wi(:,:,jk) ) 263 ELSE 264 z3d(:,:,jk) = rho0 * e1e2t(:,:) * ww(:,:,jk) 265 ENDIF 261 266 END DO 262 267 CALL iom_put( "w_masstr" , z3d ) 263 IF( iom_use('w_masstr2') ) CALL iom_put( "w_masstr2", z3d(:,:,:) * z3d(:,:,:) ) 264 ENDIF 265 ! 266 IF( ln_zad_Aimp ) ww = ww - wi ! Remove implicit part of vertical velocity that was added for diagnostic output 268 IF( iom_use('w_masstr2') ) CALL iom_put( "w_masstr2", z3d * z3d ) 269 ENDIF 267 270 268 271 CALL iom_put( "avt" , avt ) ! T vert. eddy diff. coef.
Note: See TracChangeset
for help on using the changeset viewer.