Changeset 14580 for NEMO/releases/r4.0/r4.0-HEAD/src/OCE/DIA/diawri.F90
- Timestamp:
- 2021-03-04T10:32:30+01:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/releases/r4.0/r4.0-HEAD/src/OCE/DIA/diawri.F90
r13085 r14580 211 211 ENDIF 212 212 213 IF( ln_zad_Aimp ) wn = wn + wi ! Recombine explicit and implicit parts of vertical velocity for diagnostic output 214 ! 215 CALL iom_put( "woce", wn ) ! vertical velocity 213 ! ! vertical velocity 214 IF( ln_zad_Aimp ) THEN ; CALL iom_put( "woce", wn + wi ) ! explicit plus implicit parts 215 ELSE ; CALL iom_put( "woce", wn ) 216 ENDIF 217 216 218 IF( iom_use('w_masstr') .OR. iom_use('w_masstr2') ) THEN ! vertical mass transport & its square value 217 ! Caution: in the VVL case, it only correponds to the baroclinic mass transport. 218 z2d(:,:) = rau0 * e1e2t(:,:) 219 ! ! Caution: in the VVL case, it only correponds to the baroclinic mass transport. 219 220 DO jk = 1, jpk 220 z3d(:,:,jk) = wn(:,:,jk) * z2d(:,:) 221 IF( ln_zad_Aimp ) THEN 222 z3d(:,:,jk) = rau0 * e1e2t(:,:) * ( wn(:,:,jk) + wi(:,:,jk) ) 223 ELSE 224 z3d(:,:,jk) = rau0 * e1e2t(:,:) * wn(:,:,jk) 225 ENDIF 221 226 END DO 222 227 CALL iom_put( "w_masstr" , z3d ) 223 IF( iom_use('w_masstr2') ) CALL iom_put( "w_masstr2", z3d(:,:,:) * z3d(:,:,:) ) 224 ENDIF 225 ! 226 IF( ln_zad_Aimp ) wn = wn - wi ! Remove implicit part of vertical velocity that was added for diagnostic output 227 228 IF( iom_use('w_masstr2') ) CALL iom_put( "w_masstr2", z3d * z3d ) 229 ENDIF 230 228 231 CALL iom_put( "avt" , avt ) ! T vert. eddy diff. coef. 229 232 CALL iom_put( "avs" , avs ) ! S vert. eddy diff. coef.
Note: See TracChangeset
for help on using the changeset viewer.