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/TRA/traadv_cen.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/TRA/traadv_cen.F90

    r5845 r5866  
    9090      ! 
    9191      !                          ! surface & bottom values  
    92       IF( lk_vvl )   zwz(:,:, 1 ) = 0._wp             ! set to zero one for all 
    93                      zwz(:,:,jpk) = 0._wp             ! except at the surface in linear free surface 
     92      IF( .NOT.ln_linssh )   zwz(:,:, 1 ) = 0._wp             ! set to zero one for all 
     93                             zwz(:,:,jpk) = 0._wp             ! except at the surface in linear free surface 
    9494      ! 
    9595      DO jn = 1, kjpt            !==  loop over the tracers  ==! 
     
    164164         END SELECT 
    165165         ! 
    166          IF(.NOT.lk_vvl ) THEN               !* top value   (only in linear free surf. as zwz is multiplied by wmask) 
     166         IF( ln_linssh ) THEN                !* top value   (only in linear free surf. as zwz is multiplied by wmask) 
    167167            IF( ln_isfcav ) THEN                  ! ice-shelf cavities (top of the ocean) 
    168168               DO jj = 1, jpj 
Note: See TracChangeset for help on using the changeset viewer.