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 2800 for branches/2011/UKMO_MERCATOR_obc_bdy_merge/NEMOGCM/NEMO/OPA_SRC/DYN/dynnxt.F90 – NEMO

Ignore:
Timestamp:
2011-07-13T15:31:05+02:00 (13 years ago)
Author:
davestorkey
Message:
  1. Application of boundary conditions to barotropic and baroclinic velocities clearly separated.
  2. Option to input full velocities in boundary data (default expects barotropic and baroclinic velocities separately).
  3. Option to use initial conditions as boundary conditions coded.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/UKMO_MERCATOR_obc_bdy_merge/NEMOGCM/NEMO/OPA_SRC/DYN/dynnxt.F90

    r2797 r2800  
    3030   USE domvvl          ! variable volume 
    3131   USE obc_oce         ! ocean open boundary conditions 
    32    USE obcdyn3d        ! open boundary condition for baroclinic velocities 
    33    USE obcdyn2d        ! open boundary condition for barotropic variables 
     32   USE obcdyn          ! open boundary condition for baroclinic velocities 
    3433   USE obcvol          ! ocean open boundary condition (obc_vol routines) 
    3534   USE in_out_manager  ! I/O manager 
     
    155154      IF( .NOT. lk_dynspg_flt ) THEN 
    156155 
    157          CALL obc_dyn3d( kt ) 
    158          ! 
    159     !!!! ENDA'S FIX: NEED TO THINK ABOUT THIS !!!! 
    160          CALL obc_dta( kt+1, jit=0 ) 
    161          CALL obc_dyn2d( kt, sshn_b ) 
    162          ! 
    163 !!gm ERROR - potential BUG: sshn should not be modified at this stage !!   ssh_nxt not alrady called 
    164          CALL lbc_lnk( sshn, 'T', 1. )         ! Boundary conditions on sshn 
    165          ! 
    166          IF( ln_vol_cst )   CALL obc_vol( kt ) 
    167          ! 
    168          IF(ln_ctl)   CALL prt_ctl( tab2d_1=sshn, clinfo1=' ssh      : ', mask1=tmask ) 
     156         CALL obc_dyn( kt ) 
     157 
     158!!$!!gm ERROR - potential BUG: sshn should not be modified at this stage !!   ssh_nxt not alrady called 
     159!!$         CALL lbc_lnk( sshn, 'T', 1. )         ! Boundary conditions on sshn 
     160!!$         ! 
     161!!$         IF( ln_vol_cst )   CALL obc_vol( kt ) 
     162!!$         ! 
     163!!$         IF(ln_ctl)   CALL prt_ctl( tab2d_1=sshn, clinfo1=' ssh      : ', mask1=tmask ) 
     164 
    169165      ENDIF 
    170166      ! 
Note: See TracChangeset for help on using the changeset viewer.