- Timestamp:
- 2017-04-24T09:19:00+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/NEMO/OPA_SRC/TRA/trazdf.F90
r7953 r7954 43 43 # include "vectopt_loop_substitute.h90" 44 44 !!---------------------------------------------------------------------- 45 !! NEMO/OPA 3.7 , NEMO Consortium (2015)45 !! NEMO/OPA 4.0 , NEMO Consortium (2017) 46 46 !! $Id$ 47 47 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) … … 64 64 ! 65 65 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) 67 67 ELSEIF( kt <= nit000 + 1) THEN ! at nit000 or nit000+1 68 r2dt = 2. * rdt ! = 2 rdt (leapfrog)68 r2dt = 2. * rdt ! = 2 rdt (leapfrog) 69 69 ENDIF 70 70 ! … … 120 120 !! an implicit scheme is required. 121 121 !!---------------------------------------------------------------------- 122 USE zdftke123 USE zdfgls124 !!----------------------------------------------------------------------125 122 ! 126 123 ! Choice from ln_zdfexp (namzdf namelist variable read in zdfphy module) … … 129 126 ENDIF 130 127 ! 131 ! Force implicit schemes 132 IF( ln_zdftke .OR. ln_zdfgls ) nzdf = 1 ! TKE, or GLS physics128 ! Force implicit schemes when absolutely needed 129 IF( .NOT.ln_zdfcst ) nzdf = 1 ! turbulent closure schemes 133 130 IF( ln_traldf_iso ) nzdf = 1 ! iso-neutral lateral physics 134 131 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 ! 138 133 IF(lwp) THEN 139 134 WRITE(numout,*)
Note: See TracChangeset
for help on using the changeset viewer.