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 14225 for NEMO/trunk/src/OCE/DYN/dynspg.F90 – NEMO

Ignore:
Timestamp:
2020-12-19T15:58:39+01:00 (4 years ago)
Author:
smasson
Message:

trunk: add TSUNAMI test case

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/DYN/dynspg.F90

    r14202 r14225  
    5757CONTAINS 
    5858 
    59    SUBROUTINE dyn_spg( kt, Kbb, Kmm, Krhs, puu, pvv, pssh, puu_b, pvv_b, Kaa ) 
     59   SUBROUTINE dyn_spg( kt, Kbb, Kmm, Krhs, puu, pvv, pssh, puu_b, pvv_b, Kaa, k_only_ADV ) 
    6060      !!---------------------------------------------------------------------- 
    6161      !!                  ***  ROUTINE dyn_spg  *** 
     
    7979      REAL(wp), DIMENSION(jpi,jpj,jpk,jpt), INTENT(inout) ::  puu, pvv            ! ocean velocities and RHS of momentum equation 
    8080      REAL(wp), DIMENSION(jpi,jpj,jpt)    , INTENT(inout) ::  pssh, puu_b, pvv_b  ! SSH and barotropic velocities at main time levels 
     81      INTEGER , OPTIONAL                  , INTENT( in )  ::  k_only_ADV          ! only Advection in the RHS 
    8182      ! 
    8283      INTEGER  ::   ji, jj, jk                   ! dummy loop indices 
     
    166167      SELECT CASE ( nspg )                   !== surface pressure gradient computed and add to the general trend ==! 
    167168      CASE ( np_EXP )   ;   CALL dyn_spg_exp( kt,      Kmm,       puu, pvv, Krhs )                    ! explicit 
    168       CASE ( np_TS  )   ;   CALL dyn_spg_ts ( kt, Kbb, Kmm, Krhs, puu, pvv, pssh, puu_b, pvv_b, Kaa ) ! time-splitting 
     169      CASE ( np_TS  )   ;   CALL dyn_spg_ts ( kt, Kbb, Kmm, Krhs, puu, pvv, pssh, puu_b, pvv_b, Kaa, k_only_ADV ) ! time-splitting 
    169170      END SELECT 
    170171      ! 
Note: See TracChangeset for help on using the changeset viewer.