- Timestamp:
- 2015-10-31T08:40:45+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5836_NOC3_vvl_by_default/NEMOGCM/NEMO/OPA_SRC/DYN/sshwzv.F90
r5836 r5845 47 47 48 48 !! * Substitutions 49 # include "domzgr_substitute.h90"50 49 # include "vectopt_loop_substitute.h90" 51 50 !!---------------------------------------------------------------------- … … 97 96 zhdiv(:,:) = 0._wp 98 97 DO jk = 1, jpkm1 ! Horizontal divergence of barotropic transports 99 zhdiv(:,:) = zhdiv(:,:) + fse3t_n(:,:,jk) * hdivn(:,:,jk)98 zhdiv(:,:) = zhdiv(:,:) + e3t_n(:,:,jk) * hdivn(:,:,jk) 100 99 END DO 101 100 ! ! Sea surface elevation time stepping … … 194 193 DO jk = jpkm1, 1, -1 ! integrate from the bottom the hor. divergence 195 194 ! computation of w 196 wn(:,:,jk) = wn(:,:,jk+1) - ( fse3t_n(:,:,jk) * hdivn(:,:,jk) + zhdiv(:,:,jk) &197 & + z1_2dt * ( fse3t_a(:,:,jk) - fse3t_b(:,:,jk) ) ) * tmask(:,:,jk)195 wn(:,:,jk) = wn(:,:,jk+1) - ( e3t_n(:,:,jk) * hdivn(:,:,jk) + zhdiv(:,:,jk) & 196 & + z1_2dt * ( e3t_a(:,:,jk) - e3t_b(:,:,jk) ) ) * tmask(:,:,jk) 198 197 END DO 199 198 ! IF( ln_vvl_layer ) wn(:,:,:) = 0.e0 … … 202 201 DO jk = jpkm1, 1, -1 ! integrate from the bottom the hor. divergence 203 202 ! computation of w 204 wn(:,:,jk) = wn(:,:,jk+1) - ( fse3t_n(:,:,jk) * hdivn(:,:,jk) &205 & + z1_2dt * ( fse3t_a(:,:,jk) - fse3t_b(:,:,jk) ) ) * tmask(:,:,jk)203 wn(:,:,jk) = wn(:,:,jk+1) - ( e3t_n(:,:,jk) * hdivn(:,:,jk) & 204 & + z1_2dt * ( e3t_a(:,:,jk) - e3t_b(:,:,jk) ) ) * tmask(:,:,jk) 206 205 END DO 207 206 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.