Changeset 12443 for NEMO/branches/2020/KERNEL-03_Storkey_Coward_RK3_stage2/tests/BENCH/MY_SRC/diawri.F90
- Timestamp:
- 2020-02-24T14:00:21+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/KERNEL-03_Storkey_Coward_RK3_stage2/tests/BENCH/MY_SRC/diawri.F90
r12377 r12443 169 169 170 170 IF ( iom_use("taubot") ) THEN ! bottom stress 171 zztmp = r au0 * 0.25171 zztmp = rho0 * 0.25 172 172 z2d(:,:) = 0._wp 173 173 DO jj = 2, jpjm1 … … 214 214 IF( iom_use('w_masstr') .OR. iom_use('w_masstr2') ) THEN ! vertical mass transport & its square value 215 215 ! Caution: in the VVL case, it only correponds to the baroclinic mass transport. 216 z2d(:,:) = r au0 * e1e2t(:,:)216 z2d(:,:) = rho0 * e1e2t(:,:) 217 217 DO jk = 1, jpk 218 218 z3d(:,:,jk) = ww(:,:,jk) * z2d(:,:) … … 257 257 END DO 258 258 END DO 259 CALL iom_put( "heatc", r au0_rcp * z2d ) ! vertically integrated heat content (J/m2)259 CALL iom_put( "heatc", rho0_rcp * z2d ) ! vertically integrated heat content (J/m2) 260 260 ENDIF 261 261 … … 269 269 END DO 270 270 END DO 271 CALL iom_put( "saltc", r au0 * z2d ) ! vertically integrated salt content (PSU*kg/m2)271 CALL iom_put( "saltc", rho0 * z2d ) ! vertically integrated salt content (PSU*kg/m2) 272 272 ENDIF 273 273 ! … … 295 295 z2d(:,:) = 0.e0 296 296 DO jk = 1, jpkm1 297 z3d(:,:,jk) = r au0 * uu(:,:,jk,Kmm) * e2u(:,:) * e3u(:,:,jk,Kmm) * umask(:,:,jk)297 z3d(:,:,jk) = rho0 * uu(:,:,jk,Kmm) * e2u(:,:) * e3u(:,:,jk,Kmm) * umask(:,:,jk) 298 298 z2d(:,:) = z2d(:,:) + z3d(:,:,jk) 299 299 END DO … … 332 332 z3d(:,:,jpk) = 0.e0 333 333 DO jk = 1, jpkm1 334 z3d(:,:,jk) = r au0 * vv(:,:,jk,Kmm) * e1v(:,:) * e3v(:,:,jk,Kmm) * vmask(:,:,jk)334 z3d(:,:,jk) = rho0 * vv(:,:,jk,Kmm) * e1v(:,:) * e3v(:,:,jk,Kmm) * vmask(:,:,jk) 335 335 END DO 336 336 CALL iom_put( "v_masstr", z3d ) ! mass transport in j-direction … … 373 373 END DO 374 374 CALL lbc_lnk( 'diawri', z2d, 'T', -1. ) 375 CALL iom_put( "tosmint", r au0 * z2d ) ! Vertical integral of temperature375 CALL iom_put( "tosmint", rho0 * z2d ) ! Vertical integral of temperature 376 376 ENDIF 377 377 IF( iom_use("somint") ) THEN … … 385 385 END DO 386 386 CALL lbc_lnk( 'diawri', z2d, 'T', -1. ) 387 CALL iom_put( "somint", r au0 * z2d ) ! Vertical integral of salinity387 CALL iom_put( "somint", rho0 * z2d ) ! Vertical integral of salinity 388 388 ENDIF 389 389
Note: See TracChangeset
for help on using the changeset viewer.