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 3062 for branches/2011/dev_UKM0_2011/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_ts.F90 – NEMO

Ignore:
Timestamp:
2011-11-09T11:47:32+01:00 (12 years ago)
Author:
rfurner
Message:

ticket #885. added in changes from branches/2011/UKMO_MERCATOR_obc_bdy_merge@2888

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_UKM0_2011/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_ts.F90

    r2724 r3062  
    2525   USE domvvl          ! variable volume 
    2626   USE zdfbfr          ! bottom friction 
    27    USE obcdta          ! open boundary condition data      
    28    USE obcfla          ! Flather open boundary condition   
    2927   USE dynvor          ! vorticity term 
    3028   USE obc_oce         ! Lateral open boundary condition 
    3129   USE obc_par         ! open boundary condition parameters 
    32    USE bdy_oce         ! unstructured open boundaries 
    33    USE bdy_par         ! unstructured open boundaries 
    34    USE bdydta          ! unstructured open boundaries 
    35    USE bdydyn          ! unstructured open boundaries 
    36    USE bdytides        ! tidal forcing at unstructured open boundaries. 
     30   USE obcdta          ! open boundary condition data      
     31   USE obcfla          ! Flather open boundary condition   
     32   USE bdy_par         ! for lk_bdy 
     33   USE bdy_oce         ! Lateral open boundary condition 
     34   USE bdydta          ! open boundary condition data      
     35   USE bdydyn2d        ! open boundary conditions on barotropic variables 
    3736   USE lib_mpp         ! distributed memory computing library 
    3837   USE lbclnk          ! ocean lateral boundary conditions (or mpp link) 
     
    367366         IF( jn == 1 )   z2dt_e = rdt / nn_baro 
    368367 
    369          !                                                !* Update the forcing (OBC, BDY and tides) 
     368         !                                                !* Update the forcing (BDY and tides) 
    370369         !                                                !  ------------------ 
    371370         IF( lk_obc )   CALL obc_dta_bt ( kt, jn   ) 
    372          IF( lk_bdy )   CALL bdy_dta_fla( kt, jn+1, icycle ) 
     371         IF( lk_bdy )   CALL bdy_dta ( kt, jit=jn, time_offset=+1 ) 
    373372 
    374373         !                                                !* after ssh_e 
     
    489488         !                                                !* domain lateral boundary 
    490489         !                                                !  ----------------------- 
    491          !                                                      ! Flather's boundary condition for the barotropic loop : 
    492          !                                                      !         - Update sea surface height on each open boundary 
    493          !                                                      !         - Correct the velocity 
    494  
     490 
     491                                                               ! OBC open boundaries 
    495492         IF( lk_obc               )   CALL obc_fla_ts ( ua_e, va_e, sshn_e, ssha_e ) 
    496          IF( lk_bdy .OR. ln_tides )   CALL bdy_dyn_fla( sshn_e )  
     493 
     494                                                               ! BDY open boundaries 
     495#if defined key_bdy 
     496         pssh => sshn_e 
     497         phur => hur_e 
     498         phvr => hvr_e 
     499         pu2d => ua_e 
     500         pv2d => va_e 
     501 
     502         IF( lk_bdy )   CALL bdy_dyn2d( kt )  
     503#endif 
     504 
    497505         ! 
    498506         CALL lbc_lnk( ua_e  , 'U', -1. )                      ! local domain boundaries  
Note: See TracChangeset for help on using the changeset viewer.