- Timestamp:
- 2020-03-26T19:24:53+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r12377_KERNEL-06_techene_e3/src/OCE/DYN/dynspg_ts.F90
r12377 r12616 87 87 !! * Substitutions 88 88 # include "do_loop_substitute.h90" 89 # include "domzgr_substitute.h90" 89 90 !!---------------------------------------------------------------------- 90 91 !! NEMO/OCE 4.0 , NEMO Consortium (2018) … … 161 162 REAL(wp), DIMENSION(jpi,jpj) :: zCdU_u, zCdU_v ! top/bottom stress at u- & v-points 162 163 REAL(wp), DIMENSION(jpi,jpj) :: zhU, zhV ! fluxes 164 REAL(wp), DIMENSION(jpi, jpj, jpk) :: ze3u, ze3v 163 165 ! 164 166 REAL(wp) :: zwdramp ! local scalar - only used if ln_wd_dl = .True. … … 226 228 ! != zu_frc = 1/H e3*d/dt(Ua) =! (Vertical mean of Ua, the 3D trends) 227 229 ! ! --------------------------- ! 228 zu_frc(:,:) = SUM( e3u(:,:,:,Kmm) * uu(:,:,:,Krhs) * umask(:,:,:) , DIM=3 ) * r1_hu(:,:,Kmm) 229 zv_frc(:,:) = SUM( e3v(:,:,:,Kmm) * vv(:,:,:,Krhs) * vmask(:,:,:) , DIM=3 ) * r1_hv(:,:,Kmm) 230 DO jk = 1 , jpk 231 ze3u(:,:,jk) = e3u(:,:,jk,Kmm) 232 ze3v(:,:,jk) = e3v(:,:,jk,Kmm) 233 END DO 234 ! 235 zu_frc(:,:) = SUM( ze3u(:,:,:) * uu(:,:,:,Krhs) * umask(:,:,:) , DIM=3 ) * r1_hu(:,:,Kmm) 236 zv_frc(:,:) = SUM( ze3v(:,:,:) * vv(:,:,:,Krhs) * vmask(:,:,:) , DIM=3 ) * r1_hv(:,:,Kmm) 230 237 ! 231 238 ! … … 1087 1094 ! 1088 1095 SELECT CASE( nvor_scheme ) 1089 CASE( np_EEN ) != EEN scheme using e3f (energy & enstrophy scheme)1096 CASE( np_EEN ) != EEN scheme using e3f energy & enstrophy scheme 1090 1097 SELECT CASE( nn_een_e3f ) !* ff_f/e3 at F-point 1091 1098 CASE ( 0 ) ! original formulation (masked averaging of e3t divided by 4) … … 1114 1121 END_2D 1115 1122 ! 1116 CASE( np_EET ) != EEN scheme using e3t (energy conserving scheme)1123 CASE( np_EET ) != EEN scheme using e3t energy conserving scheme 1117 1124 ftne(1,:) = 0._wp ; ftnw(1,:) = 0._wp ; ftse(1,:) = 0._wp ; ftsw(1,:) = 0._wp 1118 1125 DO_2D_01_01
Note: See TracChangeset
for help on using the changeset viewer.