Changeset 1756 for trunk/NEMO/OPA_SRC/DYN/sshwzv.F90
- Timestamp:
- 2009-11-25T15:15:20+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/DYN/sshwzv.F90
r1739 r1756 25 25 USE obc_par ! open boundary cond. parameter 26 26 USE obc_oce 27 USE diaar5, ONLY : lk_diaar5 27 28 USE iom 28 29 … … 65 66 !! hu, hv, hur, hvr : ocean depth and its inverse at u-,v-points 66 67 !!---------------------------------------------------------------------- 68 USE oce, ONLY : z3d => ta ! use ta as 3D workspace 69 !! 67 70 INTEGER, INTENT(in) :: kt ! time step 68 71 !! … … 71 74 REAL(wp) :: z2dt, zraur ! temporary scalars 72 75 REAL(wp), DIMENSION(jpi,jpj) :: zhdiv ! 2D workspace 76 REAL(wp), DIMENSION(jpi,jpj) :: z2d ! 2D workspace 73 77 !!---------------------------------------------------------------------- 74 78 … … 193 197 END DO 194 198 ! 195 CALL iom_put( "woce", wn ) ! vertical velocity 196 CALL iom_put( "ssh" , sshn ) ! sea surface height 199 CALL iom_put( "woce", wn ) ! vertical velocity 200 CALL iom_put( "ssh" , sshn ) ! sea surface height 201 CALL iom_put( "ssh2", sshn(:,:) * sshn(:,:) ) ! square of sea surface height 202 IF( lk_diaar5 ) THEN 203 z2d(:,:) = rau0 * e1t(:,:) * e2t(:,:) 204 DO jk = 1, jpk 205 z3d(:,:,jk) = wn(:,:,jk) * z2d(:,:) 206 END DO 207 CALL iom_put( "w_masstr" , z3d ) ! vertical mass transport 208 CALL iom_put( "w_masstr2", z3d(:,:,:) * z3d(:,:,:) ) ! square of vertical mass transport 209 ENDIF 197 210 ! 198 211 END SUBROUTINE ssh_wzv
Note: See TracChangeset
for help on using the changeset viewer.