Changeset 2486
- Timestamp:
- 2010-12-19T16:07:25+01:00 (14 years ago)
- Location:
- trunk/NEMO
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/NST_SRC/agrif_opa_interp.F90
r1605 r2486 29 29 PRIVATE 30 30 31 PUBLIC Agrif_tra, Agrif_dyn, interpu, interpv31 PUBLIC Agrif_tra, Agrif_dyn, Agrif_ssh, interpu, interpv 32 32 33 33 # include "domzgr_substitute.h90" … … 282 282 END DO 283 283 284 sshn(2,:)=sshn(3,:)285 sshb(2,:)=sshb(3,:)286 287 284 ENDIF 288 285 … … 363 360 END DO 364 361 365 sshn(nlci-1,:)=sshn(nlci-2,:)366 sshb(nlci-1,:)=sshb(nlci-2,:)367 362 ENDIF 368 363 … … 438 433 END DO 439 434 440 sshn(:,2)=sshn(:,3)441 sshb(:,2)=sshb(:,3)442 435 ENDIF 443 436 … … 514 507 END DO 515 508 516 sshn(:,nlcj-1)=sshn(:,nlcj-2)517 sshb(:,nlcj-1)=sshb(:,nlcj-2)518 509 ENDIF 519 510 520 511 END SUBROUTINE Agrif_dyn 512 513 514 SUBROUTINE Agrif_ssh( kt ) 515 !!---------------------------------------------------------------------- 516 !! *** ROUTINE Agrif_ssh *** 517 !!---------------------------------------------------------------------- 518 INTEGER, INTENT(in) :: kt 519 !! 520 !!---------------------------------------------------------------------- 521 522 IF( Agrif_Root() ) RETURN 523 524 IF((nbondi == -1).OR.(nbondi == 2)) THEN 525 ssha(2,:)=ssha(3,:) 526 sshn(2,:)=sshn(3,:) 527 ENDIF 528 529 IF((nbondi == 1).OR.(nbondi == 2)) THEN 530 ssha(nlci-1,:)=ssha(nlci-2,:) 531 sshn(nlci-1,:)=sshn(nlci-2,:) 532 ENDIF 533 534 IF((nbondj == -1).OR.(nbondj == 2)) THEN 535 ssha(:,2)=sshn(:,3) 536 sshn(:,2)=sshb(:,3) 537 ENDIF 538 539 IF((nbondj == 1).OR.(nbondj == 2)) THEN 540 ssha(:,nlcj-1)=ssha(:,nlcj-2) 541 ssha(:,nlcj-1)=sshn(:,nlcj-2) 542 ENDIF 543 544 END SUBROUTINE Agrif_ssh 521 545 522 546 -
trunk/NEMO/NST_SRC/agrif_opa_update.F90
r1587 r2486 93 93 !! *** ROUTINE recompute_diags *** 94 94 !!--------------------------------------------- 95 USE divcur96 USE sshwzv97 USE cla_div98 99 95 INTEGER, INTENT(in) :: kt 100 101 ta = hdivb102 sa = rotb103 Call div_cur(kt)104 105 hdivb = ta106 rotb = sa107 108 IF( n_cla == 1 ) CALL div_cla( kt )109 ! CALL wzv( kt )110 96 111 97 END SUBROUTINE recompute_diags -
trunk/NEMO/OPA_SRC/DYN/dynnxt.F90
r1876 r2486 32 32 USE bdydta ! unstructured open boundary conditions 33 33 USE bdydyn ! unstructured open boundary conditions 34 USE agrif_opa_update35 34 USE agrif_opa_interp 36 35 USE in_out_manager ! I/O manager … … 259 258 ENDIF 260 259 261 #if defined key_agrif262 ! Update velocity at AGRIF zoom boundaries263 IF (.NOT.Agrif_Root()) CALL Agrif_Update_Dyn( kt )264 #endif265 266 260 IF(ln_ctl) CALL prt_ctl( tab3d_1=un, clinfo1=' nxt - Un: ', mask1=umask, & 267 261 & tab3d_2=vn, clinfo2=' Vn: ' , mask2=vmask ) -
trunk/NEMO/OPA_SRC/DYN/sshwzv.F90
r1792 r2486 27 27 USE diaar5, ONLY : lk_diaar5 28 28 USE iom 29 USE agrif_opa_interp 30 USE agrif_opa_update 29 31 30 32 IMPLICIT NONE … … 156 158 ssha(:,:) = ( sshb(:,:) - z2dt * ( zraur * emp(:,:) + zhdiv(:,:) ) ) * tmask(:,:,1) 157 159 160 #if defined key_agrif 161 CALL agrif_ssh(kt) 162 #endif 158 163 #if defined key_obc 159 164 IF ( Agrif_Root() ) THEN … … 275 280 ENDIF 276 281 ! 282 #if defined key_agrif 283 ! Update velocity at AGRIF zoom boundaries 284 IF (.NOT.Agrif_Root()) CALL Agrif_Update_Dyn( kt ) 285 #endif 286 277 287 IF(ln_ctl) CALL prt_ctl(tab2d_1=sshb , clinfo1=' sshb - : ', mask1=tmask, ovlap=1 ) 278 288 !
Note: See TracChangeset
for help on using the changeset viewer.