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 1433 for branches/dev_004_VVL/NEMO/OPA_SRC/step.F90 – NEMO

Ignore:
Timestamp:
2009-05-11T15:33:19+02:00 (15 years ago)
Author:
rblod
Message:

dev_004_VVL: ensure restartability, see ticket #401

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_004_VVL/NEMO/OPA_SRC/step.F90

    r1430 r1433  
    208208      ! N.B. ua, va, ta, sa arrays are used as workspace in this section 
    209209      !----------------------------------------------------------------------- 
    210 #if defined key_zdftke2 
    211       IF ( ln_dynhpg_imp ) THEN 
    212       !----------------------------------------------------------------------- 
    213       !  LATERAL PHYSICS 
    214       !----------------------------------------------------------------------- 
    215                                CALL zdf_mxl( kstp )                 ! mixed layer depth 
    216          IF( lk_ldfslp     )   CALL ldf_slp( kstp, rhd, rn2 )       ! before slope of the lateral mixing 
    217 #  if defined key_traldf_c2d 
    218          IF( lk_traldf_eiv )   CALL ldf_eiv( kstp )                 ! eddy induced velocity coefficient 
    219 #  endif 
    220       ENDIF 
    221 #endif 
    222       !----------------------------------------------------------------------- 
    223       !  VERTICAL PHYSICS 
    224       !----------------------------------------------------------------------- 
    225210      IF( neuler == 0 .AND. kstp == nit000 ) THEN 
    226211                        CALL bn2( tn, sn, rn2 )              ! now    Brunt-Vaisala frequency 
     
    231216      ENDIF 
    232217 
     218#if defined key_zdftke2 
     219      IF ( ln_dynhpg_imp ) THEN 
     220      !----------------------------------------------------------------------- 
     221      !  LATERAL PHYSICS 
     222      !----------------------------------------------------------------------- 
     223                               CALL zdf_mxl( kstp )                 ! mixed layer depth 
     224         IF( lk_ldfslp     )   CALL ldf_slp( kstp, rhd, rn2b )      ! before slope of the lateral mixing 
     225#  if defined key_traldf_c2d 
     226         IF( lk_traldf_eiv )   CALL ldf_eiv( kstp )                 ! eddy induced velocity coefficient 
     227#  endif 
     228      ENDIF 
     229#endif 
     230      !----------------------------------------------------------------------- 
     231      !  VERTICAL PHYSICS 
     232      !----------------------------------------------------------------------- 
    233233      !                                                     ! Vertical eddy viscosity and diffusivity coefficients 
    234234      IF( lk_zdfric )   CALL zdf_ric( kstp )                       ! Richardson number dependent Kz 
Note: See TracChangeset for help on using the changeset viewer.