Changeset 12229 for NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE
- Timestamp:
- 2019-12-12T17:41:04+01:00 (4 years ago)
- Location:
- NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DIA/diamlr.F90
r12205 r12229 97 97 ELSE 98 98 IF (lwp) THEN 99 WRITE(numout, *) "diamlr: configuration not found or i complete (field group 'diamlr_fields'"99 WRITE(numout, *) "diamlr: configuration not found or incomplete (field group 'diamlr_fields'" 100 100 WRITE(numout, *) " and/or file group 'diamlr_files' and/or field 'diamlr_time' missing);" 101 101 WRITE(numout, *) " disabling output for multiple-linear-regression analysis." -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/dynspg_ts.F90
r12205 r12229 507 507 ! ! values of zhup2_e and zhvp2_e on the halo are not needed in bdy_vol2d 508 508 IF( ln_bdy .AND. ln_vol ) CALL bdy_vol2d( kt, jn, ua_e, va_e, zhup2_e, zhvp2_e ) 509 ! 509 ! 510 510 ! ! resulting flux at mid-step (not over the full domain) 511 511 zhU(1:jpim1,1:jpj ) = e2u(1:jpim1,1:jpj ) * ua_e(1:jpim1,1:jpj ) * zhup2_e(1:jpim1,1:jpj ) ! not jpi-column … … 514 514 #if defined key_agrif 515 515 ! Set fluxes during predictor step to ensure volume conservation 516 IF( .NOT.Agrif_Root() .AND. ln_bt_fw ) THEN 517 IF((nbondi == -1).OR.(nbondi == 2)) THEN 518 DO jj = 1, jpj 519 zhU(2:nbghostcells+1,jj) = ubdy_w(1:nbghostcells,jj) * e2u(2:nbghostcells+1,jj) 520 zhV(2:nbghostcells+1,jj) = vbdy_w(1:nbghostcells,jj) * e1v(2:nbghostcells+1,jj) 521 END DO 522 ENDIF 523 IF((nbondi == 1).OR.(nbondi == 2)) THEN 524 DO jj=1,jpj 525 zhU(nlci-nbghostcells-1:nlci-2,jj) = ubdy_e(1:nbghostcells,jj) * e2u(nlci-nbghostcells-1:nlci-2,jj) 526 zhV(nlci-nbghostcells :nlci-1,jj) = vbdy_e(1:nbghostcells,jj) * e1v(nlci-nbghostcells :nlci-1,jj) 527 END DO 528 ENDIF 529 IF((nbondj == -1).OR.(nbondj == 2)) THEN 530 DO ji=1,jpi 531 zhV(ji,2:nbghostcells+1) = vbdy_s(ji,1:nbghostcells) * e1v(ji,2:nbghostcells+1) 532 zhU(ji,2:nbghostcells+1) = ubdy_s(ji,1:nbghostcells) * e2u(ji,2:nbghostcells+1) 533 END DO 534 ENDIF 535 IF((nbondj == 1).OR.(nbondj == 2)) THEN 536 DO ji=1,jpi 537 zhV(ji,nlcj-nbghostcells-1:nlcj-2) = vbdy_n(ji,1:nbghostcells) * e1v(ji,nlcj-nbghostcells-1:nlcj-2) 538 zhU(ji,nlcj-nbghostcells :nlcj-1) = ubdy_n(ji,1:nbghostcells) * e2u(ji,nlcj-nbghostcells :nlcj-1) 539 END DO 540 ENDIF 541 ENDIF 516 IF( .NOT.Agrif_Root() .AND. ln_bt_fw ) CALL agrif_dyn_ts_flux( jn, zhU, zhV ) 542 517 #endif 543 518 IF( ln_wd_il ) CALL wad_lmt_bt(zhU, zhV, sshn_e, zssh_frc, rdtbt) !!gm wad_lmt_bt use of lbc_lnk on zhU, zhV … … 827 802 828 803 IF ( ln_wd_dl .and. ln_wd_dl_bc) THEN 829 ! need to set lbc here because not done prior time averaging830 CALL lbc_lnk_multi( 'dynspg_ts', zuwdav2, 'U', 1._wp, zvwdav2, 'V', 1._wp)831 804 DO jk = 1, jpkm1 832 805 puu(:,:,jk,Kmm) = ( un_adv(:,:)*r1_hu(:,:,Kmm) &
Note: See TracChangeset
for help on using the changeset viewer.