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 1537 for trunk/NEMO/OPA_SRC/step.F90 – NEMO

Ignore:
Timestamp:
2009-07-24T16:22:23+02:00 (15 years ago)
Author:
ctlod
Message:

ensure the restartability of the 2nd order advection scheme,see ticket: 489

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/step.F90

    r1533 r1537  
    205205      IF( lk_zdfkpp     )   CALL zdf_kpp    ( kstp )  ! KPP closure scheme for Kz 
    206206      IF( lk_zdfcst     )   THEN                      ! Constant Kz (reset avt, avm[uv] to the background value) 
    207          avt (:,:,:) = avt0 * tmask(:,:,:) 
    208          avmu(:,:,:) = avm0 * umask(:,:,:) 
    209          avmv(:,:,:) = avm0 * vmask(:,:,:) 
     207         avt (:,:,:) = rn_avt0 * tmask(:,:,:) 
     208         avmu(:,:,:) = rn_avm0 * umask(:,:,:) 
     209         avmv(:,:,:) = rn_avm0 * vmask(:,:,:) 
    210210      ENDIF 
    211211      IF( ln_rnf_mouth ) THEN                         ! increase diffusivity at rivers mouths 
Note: See TracChangeset for help on using the changeset viewer.