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 2865 for branches/2011/UKMO_MERCATOR_obc_bdy_merge/NEMOGCM/NEMO/OPA_SRC/OBC/obcdyn.F90 – NEMO

Ignore:
Timestamp:
2011-09-27T14:33:01+02:00 (13 years ago)
Author:
davestorkey
Message:
  1. Updates for dynspg_exp option.
  2. Implement time_offset functionality in obc_dta.
  3. Add option to specify boundaries in the namelist.
  4. Re-activate obc_vol option.
  5. Update to namelist control of tidal harmonics.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/UKMO_MERCATOR_obc_bdy_merge/NEMOGCM/NEMO/OPA_SRC/OBC/obcdyn.F90

    r2800 r2865  
    4141CONTAINS 
    4242 
    43    SUBROUTINE obc_dyn( kt ) 
     43   SUBROUTINE obc_dyn( kt, dyn3d_only ) 
    4444      !!---------------------------------------------------------------------- 
    4545      !!                  ***  SUBROUTINE obc_dyn  *** 
     
    5151      USE wrk_nemo, ONLY: wrk_2d_7, wrk_2d_8      ! 2D workspace 
    5252      !! 
    53       INTEGER, INTENT( in ) :: kt     ! Main time step counter 
     53      INTEGER, INTENT( in )           :: kt               ! Main time step counter 
     54      LOGICAL, INTENT( in ), OPTIONAL :: dyn3d_only       ! T => only update baroclinic velocities 
    5455      !! 
    5556      INTEGER               :: jk,ii,ij,ib,igrd     ! Loop counter 
     57      LOGICAL               :: ll_dyn2d, ll_dyn3d   
    5658      !! 
    5759 
     
    6062      END IF 
    6163 
     64      ll_dyn2d = .true. 
     65      ll_dyn3d = .true. 
     66 
     67      IF( PRESENT(dyn3d_only) ) THEN 
     68         IF( dyn3d_only ) ll_dyn2d = .false. 
     69      ENDIF 
     70 
    6271      !------------------------------------------------------- 
    6372      ! Set pointers 
    6473      !------------------------------------------------------- 
    6574 
    66       pssh => sshn_b 
     75      pssh => sshn 
    6776      phur => hur 
    6877      phvr => hvr 
     
    92101      !------------------------------------------------------- 
    93102 
    94       CALL obc_dyn2d( kt ) 
     103      IF( ll_dyn2d ) CALL obc_dyn2d( kt ) 
    95104 
    96       CALL obc_dyn3d( kt ) 
     105      IF( ll_dyn3d ) CALL obc_dyn3d( kt ) 
    97106 
    98107      !------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.