- Timestamp:
- 2017-01-04T17:47:47+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_r6519_HPC_4/NEMOGCM/NEMO/OPA_SRC/LDF/ldfdyn.F90
r7508 r7525 160 160 IF(lwp) WRITE(numout,*) ' momentum mixing coef. = constant ' 161 161 !$OMP PARALLEL DO schedule(static) private(jk,jj,ji) 162 DO jk = 1, jpk163 DO jj = 1, jpj164 DO ji = 1, jpi165 ahmt(ji,jj,jk) = zah0 * tmask(ji,jj,jk)166 ahmf(ji,jj,jk) = zah0 * fmask(ji,jj,jk)167 END DO168 END DO169 END DO170 !162 DO jk = 1, jpk 163 DO jj = 1, jpj 164 DO ji = 1, jpi 165 ahmt(ji,jj,jk) = zah0 * tmask(ji,jj,jk) 166 ahmf(ji,jj,jk) = zah0 * fmask(ji,jj,jk) 167 END DO 168 END DO 169 END DO 170 ! 171 171 CASE( 10 ) !== fixed profile ==! 172 172 IF(lwp) WRITE(numout,*) ' momentum mixing coef. = F( depth )' … … 189 189 !! do we introduce a scaling by the max value of the array, and then multiply by zah0 ???? 190 190 !! better: check that the max is <=1 i.e. it is a shape from 0 to 1, not a coef that has physical dimension 191 !$OMP PARALLEL DO schedule(static) private(jk )191 !$OMP PARALLEL DO schedule(static) private(jk,jj,ji) 192 192 DO jk = 2, jpkm1 193 ahmt(:,:,jk) = ahmt(:,:,1) * tmask(:,:,jk) 194 ahmf(:,:,jk) = ahmf(:,:,1) * fmask(:,:,jk) 193 DO jj = 1, jpj 194 DO ji = 1, jpi 195 ahmt(ji,jj,jk) = ahmt(ji,jj,1) * tmask(ji,jj,jk) 196 ahmf(ji,jj,jk) = ahmf(ji,jj,1) * fmask(ji,jj,jk) 197 END DO 198 END DO 195 199 END DO 196 200 ! … … 208 212 !!gm Question : info for LAP or BLP case to take into account the SQRT in the bilaplacian case ???? 209 213 !! do we introduce a scaling by the max value of the array, and then multiply by zah0 ???? 210 !$OMP PARALLEL DO schedule(static) private(jk )214 !$OMP PARALLEL DO schedule(static) private(jk,jj,ji) 211 215 DO jk = 1, jpkm1 212 ahmt(:,:,jk) = ahmt(:,:,jk) * tmask(:,:,jk) 213 ahmf(:,:,jk) = ahmf(:,:,jk) * fmask(:,:,jk) 216 DO jj = 1, jpj 217 DO ji = 1, jpi 218 ahmt(ji,jj,jk) = ahmt(ji,jj,jk) * tmask(ji,jj,jk) 219 ahmf(ji,jj,jk) = ahmf(ji,jj,jk) * fmask(ji,jj,jk) 220 END DO 221 END DO 214 222 END DO 215 223 !
Note: See TracChangeset
for help on using the changeset viewer.