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

Ignore:
Timestamp:
2007-06-01T19:43:49+02:00 (17 years ago)
Author:
ctlod
Message:

nemo_v2_bugfix_047 : CT : initialization of avmu, avmv arrays when using key_zdfcst cpp key

File:
1 edited

Legend:

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

    r643 r677  
    255255      IF( lk_zdfkpp )   CALL zdf_kpp( kstp )                       ! KPP closure scheme for Kz 
    256256 
    257       IF( lk_zdfcst )   avt (:,:,:) = avt0 * tmask(:,:,:)          ! Constant Kz (reset avt to the background value) 
     257      IF( lk_zdfcst )   THEN                                       ! Constant Kz (reset avt, avm[uv] to the background value) 
     258         avt (:,:,:) = avt0 * tmask(:,:,:) 
     259         avmu(:,:,:) = avm0 * umask(:,:,:) 
     260         avmv(:,:,:) = avm0 * vmask(:,:,:) 
     261      ENDIF 
    258262 
    259263      IF( cp_cfg == "orca" ) THEN                           ! ORCA: Reduce vertical mixing in some specific areas 
Note: See TracChangeset for help on using the changeset viewer.