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 7954 for branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/NEMO/OPA_SRC/TRA/trazdf.F90 – NEMO

Ignore:
Timestamp:
2017-04-24T09:19:00+02:00 (7 years ago)
Author:
gm
Message:

#1880 (HPC-09): OPA & TOP replace key_trabbl by ln_trabbl + in CONFIG, remove reference to key_zdfXXX and key_trabbl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/NEMO/OPA_SRC/TRA/trazdf.F90

    r7953 r7954  
    4343#  include "vectopt_loop_substitute.h90" 
    4444   !!---------------------------------------------------------------------- 
    45    !! NEMO/OPA 3.7 , NEMO Consortium (2015) 
     45   !! NEMO/OPA 4.0 , NEMO Consortium (2017) 
    4646   !! $Id$ 
    4747   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
     
    6464      ! 
    6565      IF( neuler == 0 .AND. kt == nit000 ) THEN     ! at nit000 
    66          r2dt =  rdt                          ! = rdt (restarting with Euler time stepping) 
     66         r2dt =  rdt                                     ! = rdt (restarting with Euler time stepping) 
    6767      ELSEIF( kt <= nit000 + 1) THEN                ! at nit000 or nit000+1 
    68          r2dt = 2. * rdt                      ! = 2 rdt (leapfrog) 
     68         r2dt = 2. * rdt                                 ! = 2 rdt (leapfrog) 
    6969      ENDIF 
    7070      ! 
     
    120120      !!          an implicit scheme is required. 
    121121      !!---------------------------------------------------------------------- 
    122       USE zdftke 
    123       USE zdfgls 
    124       !!---------------------------------------------------------------------- 
    125122      ! 
    126123      ! Choice from ln_zdfexp (namzdf namelist variable read in zdfphy module) 
     
    129126      ENDIF 
    130127      ! 
    131       ! Force implicit schemes 
    132       IF( ln_zdftke .OR. ln_zdfgls   )   nzdf = 1   ! TKE, or GLS physics 
     128      ! Force implicit schemes when absolutely needed 
     129      IF( .NOT.ln_zdfcst             )   nzdf = 1   ! turbulent closure schemes 
    133130      IF( ln_traldf_iso              )   nzdf = 1   ! iso-neutral lateral physics 
    134131      IF( ln_traldf_hor .AND. ln_sco )   nzdf = 1   ! horizontal lateral physics in s-coordinate 
    135       IF( ln_zdfexp .AND. nzdf == 1 )   CALL ctl_stop( 'tra_zdf : If using the rotation of lateral mixing operator',   & 
    136             &                         ' GLS or TKE scheme, the implicit scheme is required, set ln_zdfexp = .false.' ) 
    137             ! 
     132      ! 
    138133      IF(lwp) THEN 
    139134         WRITE(numout,*) 
Note: See TracChangeset for help on using the changeset viewer.