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 3583 for branches/2012/dev_MERCATOR_2012_rev3555/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_ts.F90 – NEMO

Ignore:
Timestamp:
2012-11-16T17:18:17+01:00 (11 years ago)
Author:
cbricaud
Message:

add modification from dev_r3327_MERCATOR1_BDY branch in dev_MERCATOR_2012_rev3555 branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_MERCATOR_2012_rev3555/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_ts.F90

    r3294 r3583  
    403403         IF( lk_obc )   CALL obc_dta_bt ( kt, jn   ) 
    404404         IF( lk_bdy )   CALL bdy_dta ( kt, jit=jn, time_offset=+1 ) 
    405          IF ( ln_tide_pot ) CALL upd_tide( kt, jn ) 
     405         IF ( ln_tide_pot .AND. lk_tide) CALL upd_tide( kt, jn ) 
    406406 
    407407         !                                                !* after ssh_e 
     
    453453                  ENDIF 
    454454                  ! add tidal astronomical forcing 
    455                   IF ( ln_tide_pot ) THEN  
     455                  IF ( ln_tide_pot .AND. lk_tide ) THEN  
    456456                  zu_spg = zu_spg + grav * ( pot_astro(ji+1,jj) - pot_astro(ji,jj) ) / e1u(ji,jj) 
    457457                  zv_spg = zv_spg + grav * ( pot_astro(ji,jj+1) - pot_astro(ji,jj) ) / e2v(ji,jj) 
     
    503503                  ENDIF 
    504504                  ! add tidal astronomical forcing 
    505                   IF ( ln_tide_pot ) THEN 
     505                  IF ( ln_tide_pot .AND. lk_tide ) THEN 
    506506                  zu_spg = zu_spg + grav * ( pot_astro(ji+1,jj) - pot_astro(ji,jj) ) / e1u(ji,jj) 
    507507                  zv_spg = zv_spg + grav * ( pot_astro(ji,jj+1) - pot_astro(ji,jj) ) / e2v(ji,jj) 
     
    550550                  ENDIF 
    551551                  ! add tidal astronomical forcing 
    552                   IF ( ln_tide_pot ) THEN 
     552                  IF ( ln_tide_pot .AND. lk_tide ) THEN 
    553553                  zu_spg = zu_spg + grav * ( pot_astro(ji+1,jj) - pot_astro(ji,jj) ) / e1u(ji,jj) 
    554554                  zv_spg = zv_spg + grav * ( pot_astro(ji,jj+1) - pot_astro(ji,jj) ) / e2v(ji,jj) 
Note: See TracChangeset for help on using the changeset viewer.