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 3692 for trunk/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_flt.F90 – NEMO

Ignore:
Timestamp:
2012-11-28T08:54:04+01:00 (11 years ago)
Author:
rblod
Message:

correct pb with agrif and obc (potentially bdy) see ticket #1029

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_flt.F90

    r3294 r3692  
    188188 
    189189#if defined key_obc 
    190       CALL obc_dyn( kt )      ! Update velocities on each open boundary with the radiation algorithm 
    191       CALL obc_vol( kt )      ! Correction of the barotropic componant velocity to control the volume of the system 
     190      IF( lk_obc ) CALL obc_dyn( kt )   ! Update velocities on each open boundary with the radiation algorithm 
     191      IF( lk_obc)  CALL obc_vol( kt )   ! Correction of the barotropic componant velocity to control the volume of the system 
    192192#endif 
    193193#if defined key_bdy 
    194       CALL bdy_dyn( kt )      ! Update velocities on each open boundary 
    195       CALL bdy_vol( kt )      ! Correction of the barotropic component velocity to control the volume of the system 
     194      IF( lk_bdy ) CALL bdy_dyn( kt )   ! Update velocities on each open boundary 
     195      IF( lk_bdy ) CALL bdy_vol( kt )   ! Correction of the barotropic component velocity to control the volume of the system 
    196196#endif 
    197197#if defined key_agrif 
Note: See TracChangeset for help on using the changeset viewer.