Changeset 10768
- Timestamp:
- 2019-03-15T15:54:10+01:00 (6 years ago)
- Location:
- NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OCE/DYN/dynnxt.F90
r10743 r10768 339 339 ENDIF 340 340 ! 341 ikt = Nnn 342 ELSE 343 ikt = kNm1 344 puu(:,:,:) = uu(:,:,:,kNp1) 345 pvv(:,:,:) = vv(:,:,:,kNp1) 346 pe3t(:,:,:) = e3t(:,:,:,kNp1) 347 pe3u(:,:,:) = e3u(:,:,:,kNp1) 348 pe3v(:,:,:) = e3v(:,:,:,kNp1) 341 349 ENDIF ! neuler =/0 342 350 ! … … 350 358 ! 351 359 IF(.NOT.ln_linssh ) THEN 352 hu_b(:,:) = pe3u(:,:,1) * umask(:,:,1)353 hv_b(:,:) = pe3v(:,:,1) * vmask(:,:,1)360 hu_b(:,:) = e3u(:,:,1,ikt ) * umask(:,:,1) 361 hv_b(:,:) = e3v(:,:,1,ikt ) * vmask(:,:,1) 354 362 DO jk = 2, jpkm1 355 hu_b(:,:) = hu_b(:,:) + pe3u(:,:,jk) * umask(:,:,jk)356 hv_b(:,:) = hv_b(:,:) + pe3v(:,:,jk) * vmask(:,:,jk)363 hu_b(:,:) = hu_b(:,:) + e3u(:,:,jk,ikt ) * umask(:,:,jk) 364 hv_b(:,:) = hv_b(:,:) + e3v(:,:,jk,ikt ) * vmask(:,:,jk) 357 365 END DO 358 366 r1_hu_b(:,:) = ssumask(:,:) / ( hu_b(:,:) + 1._wp - ssumask(:,:) ) … … 361 369 ! 362 370 un_b(:,:) = e3u(:,:,1,kNp1) * uu(:,:,1,kNp1) * umask(:,:,1) 363 ub_b(:,:) = pe3u(:,:,1) * puu(:,:,1) * umask(:,:,1)371 ub_b(:,:) = e3u(:,:,1,ikt ) * uu(:,:,1,ikt ) * umask(:,:,1) 364 372 vn_b(:,:) = e3v(:,:,1,kNp1) * vv(:,:,1,kNp1) * vmask(:,:,1) 365 vb_b(:,:) = pe3v(:,:,1) * pvv(:,:,1) * vmask(:,:,1)373 vb_b(:,:) = e3v(:,:,1,ikt ) * vv(:,:,1,ikt ) * vmask(:,:,1) 366 374 DO jk = 2, jpkm1 367 375 un_b(:,:) = un_b(:,:) + e3u(:,:,jk,kNp1) * uu(:,:,jk,kNp1) * umask(:,:,jk) 368 ub_b(:,:) = ub_b(:,:) + pe3u(:,:,jk) * puu(:,:,jk) * umask(:,:,jk)376 ub_b(:,:) = ub_b(:,:) + e3u(:,:,jk,ikt ) * uu(:,:,jk,ikt ) * umask(:,:,jk) 369 377 vn_b(:,:) = vn_b(:,:) + e3v(:,:,jk,kNp1) * vv(:,:,jk,kNp1) * vmask(:,:,jk) 370 vb_b(:,:) = vb_b(:,:) + pe3v(:,:,jk) * pvv(:,:,jk) * vmask(:,:,jk)378 vb_b(:,:) = vb_b(:,:) + e3v(:,:,jk,ikt ) * vv(:,:,jk,ikt ) * vmask(:,:,jk) 371 379 END DO 372 380 un_b(:,:) = un_b(:,:) * r1_hu_a(:,:) -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OCE/step.F90
r10743 r10768 281 281 ! 282 282 ! Swap time levels 283 Nrhs = Nm1 284 Nm1 = Nnn 285 Nnn = Np1 286 Np1 = Nrhs 283 IF( .NOT. (neuler == 0 .AND. kstp == nit000) ) THEN 284 Nrhs = Nm1 285 Nm1 = Nnn 286 Nnn = Np1 287 Np1 = Nrhs 288 ENDIF 287 289 ! 288 290 ! Update temporary pointers
Note: See TracChangeset
for help on using the changeset viewer.