Changeset 5150 for branches/2012/dev_v3_4_STABLE_2012
- Timestamp:
- 2015-03-18T11:04:44+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/NEMO/OPATAM_SRC/DYN/dynzdf_imp_tam.F90
r3611 r5150 71 71 72 72 !! * Local declarations 73 INTEGER :: ji, jj, jk ! dummy loop indices74 REAL(wp) :: 73 INTEGER :: ji, jj, jk, ikbu, ikbv ! dummy loop indices 74 REAL(wp) :: z1_p2dt, z2dtf, zcoef, zzws, zrhstl ! temporary scalars 75 75 REAL(wp), POINTER, DIMENSION(:,:,:):: zwi, zws, zwd ! temporary workspace arrays 76 REAL(wp), POINTER, DIMENSION(:,:):: zavmu, zavmv ! temporary workspace arrays 76 77 !!---------------------------------------------------------------------- 77 78 ! … … 97 98 98 99 IF( ln_bfrimp ) THEN 99 !!!!!!!!!!!!!!!!!!!!!!!!!! !100 !!!!!!!!!!!!!!!!!!!!!!!!!! 100 101 ! avm* are unactivated for the current TAM 101 !!!!!!!!!!!!!!!!!!!!!!!!!! !102 !# if defined key_vectopt_loop103 !DO jj = 1, 1104 !DO ji = jpi+2, jpij-jpi-1 ! vector opt. (forced unrolling)105 !# else106 !DO jj = 2, jpjm1107 !DO ji = 2, jpim1108 !# endif109 !ikbu = mbku(ji,jj) ! ocean bottom level at u- and v-points110 !ikbv = mbkv(ji,jj) ! (deepest ocean u- and v-points)111 !zavmu(ji,jj) = avmu(ji,jj,ikbu+1)112 !zavmv(ji,jj) = avmv(ji,jj,ikbv+1)113 !avmu(ji,jj,ikbu+1) = -bfrua(ji,jj) * fse3uw(ji,jj,ikbu+1)114 !avmv(ji,jj,ikbv+1) = -bfrva(ji,jj) * fse3vw(ji,jj,ikbv+1)115 !END DO116 !END DO102 !!!!!!!!!!!!!!!!!!!!!!!!!! 103 # if defined key_vectopt_loop 104 DO jj = 1, 1 105 DO ji = jpi+2, jpij-jpi-1 ! vector opt. (forced unrolling) 106 # else 107 DO jj = 2, jpjm1 108 DO ji = 2, jpim1 109 # endif 110 ikbu = mbku(ji,jj) ! ocean bottom level at u- and v-points 111 ikbv = mbkv(ji,jj) ! (deepest ocean u- and v-points) 112 zavmu(ji,jj) = avmu(ji,jj,ikbu+1) 113 zavmv(ji,jj) = avmv(ji,jj,ikbv+1) 114 avmu(ji,jj,ikbu+1) = -bfrua(ji,jj) * fse3uw(ji,jj,ikbu+1) 115 avmv(ji,jj,ikbv+1) = -bfrva(ji,jj) * fse3vw(ji,jj,ikbv+1) 116 END DO 117 END DO 117 118 118 119 ENDIF … … 304 305 ! avm* are unactivated in the current TAM 305 306 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 306 !# if defined key_vectopt_loop307 !DO jj = 1, 1308 !DO ji = jpi+2, jpij-jpi-1 ! vector opt. (forced unrolling)309 !# else310 !DO jj = 2, jpjm1311 !DO ji = 2, jpim1312 !# endif313 !ikbu = mbku(ji,jj) ! ocean bottom level at u- and v-points314 !ikbv = mbkv(ji,jj) ! (deepest ocean u- and v-points)315 !avmu(ji,jj,ikbu+1) = zavmu(ji,jj)316 !avmv(ji,jj,ikbv+1) = zavmv(ji,jj)317 !END DO318 !END DO307 # if defined key_vectopt_loop 308 DO jj = 1, 1 309 DO ji = jpi+2, jpij-jpi-1 ! vector opt. (forced unrolling) 310 # else 311 DO jj = 2, jpjm1 312 DO ji = 2, jpim1 313 # endif 314 ikbu = mbku(ji,jj) ! ocean bottom level at u- and v-points 315 ikbv = mbkv(ji,jj) ! (deepest ocean u- and v-points) 316 avmu(ji,jj,ikbu+1) = zavmu(ji,jj) 317 avmv(ji,jj,ikbv+1) = zavmv(ji,jj) 318 END DO 319 END DO 319 320 ENDIF 320 321 !
Note: See TracChangeset
for help on using the changeset viewer.