- Timestamp:
- 2011-12-11T16:00:26+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2011/DEV_r2739_STFC_dCSE/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_ts.F90
r2724 r3211 57 57 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: ub_b, vb_b ! before averaged velocity 58 58 59 !! * Control permutation of array indices 60 # include "oce_ftrans.h90" 61 # include "dom_oce_ftrans.h90" 62 # include "sbc_oce_ftrans.h90" 63 # include "domvvl_ftrans.h90" 64 # include "obc_oce_ftrans.h90" 65 # include "zdf_oce_ftrans.h90" 66 59 67 !! * Substitutions 60 68 # include "domzgr_substitute.h90" … … 179 187 zva(:,:) = 0.e0 ; zvn(:,:) = 0.e0 ; vb_b(:,:) = 0.e0 180 188 ! 189 #if defined key_z_first 190 DO jj = 1, jpj 191 DO ji = 1, jpi 192 DO jk = 1, jpkm1 193 #else 181 194 DO jk = 1, jpkm1 182 195 #if defined key_vectopt_loop … … 186 199 DO jj = 1, jpj 187 200 DO ji = 1, jpi 201 #endif 188 202 #endif 189 203 ! ! now trend … … 206 220 207 221 ! !* baroclinic momentum trend (remove the vertical mean trend) 222 #if defined key_z_first 223 DO jj = 2, jpjm1 224 DO ji = 2, jpim1 225 DO jk = 1, jpkm1 226 #else 208 227 DO jk = 1, jpkm1 ! -------------------------- 209 228 DO jj = 2, jpjm1 210 229 DO ji = fs_2, fs_jpim1 ! vector opt. 230 #endif 211 231 ua(ji,jj,jk) = ua(ji,jj,jk) - zua(ji,jj) * hur(ji,jj) 212 232 va(ji,jj,jk) = va(ji,jj,jk) - zva(ji,jj) * hvr(ji,jj)
Note: See TracChangeset
for help on using the changeset viewer.