Changeset 7646 for trunk/NEMOGCM/NEMO/TOP_SRC/trcsub.F90
- Timestamp:
- 2017-02-06T10:25:03+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/TOP_SRC/trcsub.F90
r7091 r7646 20 20 USE domvvl 21 21 USE divhor ! horizontal divergence (div_hor routine) 22 USE sbcrnf , ONLY: h_rnf, nk_rnf ! River runoff23 USE bdy_oce 22 USE sbcrnf , ONLY: h_rnf, nk_rnf ! River runoff 23 USE bdy_oce , ONLY: ln_bdy, bdytmask ! BDY 24 24 #if defined key_agrif 25 25 USE agrif_opa_update … … 493 493 z1_rau0 = 0.5 / rau0 494 494 ssha(:,:) = ( sshb(:,:) - z2dt * ( z1_rau0 * ( emp_b(:,:) + emp(:,:) ) + zhdiv(:,:) ) ) * tmask(:,:,1) 495 #if ! defined key_dynspg_ts 495 496 IF( .NOT.ln_dynspg_ts ) THEN 496 497 ! These lines are not necessary with time splitting since 497 498 ! boundary condition on sea level is set during ts loop … … 499 500 CALL agrif_ssh( kt ) 500 501 #endif 501 #if defined key_bdy 502 ssha(:,:) = ssha(:,:) * bdytmask(:,:)503 CALL lbc_lnk( ssha, 'T', 1. )504 #endif 505 #endif 502 IF( ln_bdy ) THEN 503 ssha(:,:) = ssha(:,:) * bdytmask(:,:) 504 CALL lbc_lnk( ssha, 'T', 1. ) 505 ENDIF 506 ENDIF 506 507 ! 507 508 ! !------------------------------! … … 514 515 & - ( e3t_a(:,:,jk) - e3t_b(:,:,jk) ) & 515 516 & * tmask(:,:,jk) * z1_2dt 516 #if defined key_bdy 517 wn(:,:,jk) = wn(:,:,jk) * bdytmask(:,:) 518 #endif 517 IF( ln_bdy ) wn(:,:,jk) = wn(:,:,jk) * bdytmask(:,:) 519 518 END DO 520 519 !
Note: See TracChangeset
for help on using the changeset viewer.