New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 7058 for branches/2016/dev_r6522_SIMPLIF_3/NEMOGCM/NEMO/TOP_SRC/trcsub.F90 – NEMO

Ignore:
Timestamp:
2016-10-20T15:19:01+02:00 (8 years ago)
Author:
lovato
Message:

#1783 - trunk: Generalize the open boundary schemes and revise TRA and TRC BDY wrappers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_r6522_SIMPLIF_3/NEMOGCM/NEMO/TOP_SRC/trcsub.F90

    r6862 r7058  
    499499      z1_rau0 = 0.5 / rau0 
    500500      ssha(:,:) = (  sshb(:,:) - z2dt * ( z1_rau0 * ( emp_b(:,:) + emp(:,:) ) + zhdiv(:,:) )  ) * tmask(:,:,1) 
    501 #if ! defined key_dynspg_ts 
     501 
     502      IF( .NOT.ln_dynspg_ts ) THEN 
    502503      ! These lines are not necessary with time splitting since 
    503504      ! boundary condition on sea level is set during ts loop 
     
    505506      CALL agrif_ssh( kt ) 
    506507#endif 
    507       IF( ln_bdy ) THEN 
    508          ssha(:,:) = ssha(:,:) * bdytmask(:,:) 
    509          CALL lbc_lnk( ssha, 'T', 1. )  
    510       ENDIF 
    511 #endif 
     508         IF( ln_bdy ) THEN 
     509            ssha(:,:) = ssha(:,:) * bdytmask(:,:) 
     510            CALL lbc_lnk( ssha, 'T', 1. )  
     511         ENDIF 
     512      ENDIF 
    512513      ! 
    513514      !                                           !------------------------------! 
Note: See TracChangeset for help on using the changeset viewer.