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 5866 for branches/2015/dev_r5836_NOC3_vvl_by_default/NEMOGCM/NEMO/OPA_SRC/step.F90 – NEMO

Ignore:
Timestamp:
2015-11-06T11:42:35+01:00 (8 years ago)
Author:
gm
Message:

#1613: vvl by default: add ln_linssh and remove key_vvl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5836_NOC3_vvl_by_default/NEMOGCM/NEMO/OPA_SRC/step.F90

    r5845 r5866  
    178178      !  Ocean dynamics : hdiv, ssh, e3, wn 
    179179      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
    180                          CALL ssh_nxt       ( kstp )  ! after ssh (includes call to div_hor) 
    181       IF( lk_vvl    )   CALL dom_vvl_sf_nxt( kstp )  ! after vertical scale factors  
    182                          CALL wzv           ( kstp )  ! now cross-level velocity  
     180                             CALL ssh_nxt       ( kstp )  ! after ssh (includes call to div_hor) 
     181      IF( .NOT.ln_linssh )   CALL dom_vvl_sf_nxt( kstp )  ! after vertical scale factors  
     182                             CALL wzv           ( kstp )  ! now cross-level velocity  
    183183 
    184184      IF( lk_dynspg_ts ) THEN  
     
    217217 
    218218                                  CALL div_hor( kstp )         ! Horizontal divergence  (2nd call in time-split case) 
    219           IF( lk_vvl     )        CALL dom_vvl_sf_nxt( kstp, kcall=2 )  ! after vertical scale factors (update depth average component) 
     219          IF( .NOT.ln_linssh )    CALL dom_vvl_sf_nxt( kstp, kcall=2 )  ! after vertical scale factors (update depth average component) 
    220220                                  CALL wzv           ( kstp )  ! now cross-level velocity  
    221221      ENDIF 
     
    331331 
    332332                               CALL ssh_swp( kstp )         ! swap of sea surface height 
    333       IF( lk_vvl           )   CALL dom_vvl_sf_swp( kstp )  ! swap of vertical scale factors 
     333      IF( .NOT.ln_linssh )     CALL dom_vvl_sf_swp( kstp )  ! swap of vertical scale factors 
    334334      ! 
    335335 
Note: See TracChangeset for help on using the changeset viewer.