- 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/dynldf_iso.F90
r2715 r3211 38 38 REAL(wp), ALLOCATABLE, SAVE, DIMENSION(:,:) :: zfuw, zdiu, zdju, zdj1u ! 2D workspace (dyn_ldf_iso) 39 39 REAL(wp), ALLOCATABLE, SAVE, DIMENSION(:,:) :: zfvw, zdiv, zdjv, zdj1v ! - - 40 41 !! * Control permutation of array indices 42 # include "oce_ftrans.h90" 43 # include "dom_oce_ftrans.h90" 44 # include "ldfdyn_oce_ftrans.h90" 45 # include "ldftra_oce_ftrans.h90" 46 # include "ldfslp_ftrans.h90" 47 # include "zdf_oce_ftrans.h90" 40 48 41 49 !! * Substitutions … … 134 142 IF( ln_dynldf_hor .AND. ln_traldf_iso ) THEN 135 143 ! 144 #if defined key_z_first 145 DO jj = 2, jpjm1 ! set the slopes of iso-level 146 DO ji = fs_2, fs_jpim1 147 DO jk = 1, jpk 148 #else 136 149 DO jk = 1, jpk ! set the slopes of iso-level 137 150 DO jj = 2, jpjm1 138 151 DO ji = fs_2, fs_jpim1 ! vector opt. 152 #endif 139 153 uslp (ji,jj,jk) = -1./e1u(ji,jj) * ( fsdept(ji+1,jj,jk) - fsdept(ji ,jj ,jk) ) * umask(ji,jj,jk) 140 154 vslp (ji,jj,jk) = -1./e2v(ji,jj) * ( fsdept(ji,jj+1,jk) - fsdept(ji ,jj ,jk) ) * vmask(ji,jj,jk)
Note: See TracChangeset
for help on using the changeset viewer.