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/DYN/dynspg_flt.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/DYN/dynspg_flt.F90

    r5845 r5866  
    138138      ! Evaluate the masked next velocity (effect of the additional force not included) 
    139139      ! ---------------------------------   
    140       IF( lk_vvl ) THEN          ! variable volume  (surface pressure gradient already included in dyn_hpg) 
     140      IF( .NOT.ln_linssh ) THEN     ! variable volume  (surface pressure gradient already included in dyn_hpg) 
    141141         ! 
    142142         IF( ln_dynadv_vec ) THEN      ! vector form : applied on velocity 
     
    230230      CALL lbc_lnk( spgv, 'V', -1. ) 
    231231 
    232       IF( lk_vvl ) CALL sol_mat( kt )      ! build the matrix at kt (vvl case only) 
     232      IF( .NOT.ln_linssh )   CALL sol_mat( kt )      ! build the matrix at kt (non-linear free surface only) 
    233233 
    234234      ! Right hand side of the elliptic equation and first guess 
Note: See TracChangeset for help on using the changeset viewer.