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 2937 – NEMO

Changeset 2937


Ignore:
Timestamp:
2011-10-16T10:02:10+02:00 (12 years ago)
Author:
hliu
Message:

change the order of multiply diffusivity, smagorinsky_ bilaplacian not recommended

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_r2802_NOCL_Smagorinsky/NEMOGCM/NEMO/OPA_SRC/TRA/traldf_bilapg.F90

    r2926 r2937  
    301301            ! --------------------------------------------------------------------- 
    302302             
    303             IF( kaht == 1 ) THEN 
     303            IF( ( kaht-nkaht_smag) == 1 ) THEN 
    304304               ! multiply the laplacian by the eddy diffusivity coefficient 
    305305               DO jk = 1, jpkm1 
     
    313313                  END DO 
    314314               END DO 
    315             ELSEIF( kaht == 2 ) THEN 
     315            ELSEIF( ( kaht+nkaht_smag ) == 2 ) THEN 
    316316               ! second call, no multiplication 
    317317               DO jk = 1, jpkm1 
Note: See TracChangeset for help on using the changeset viewer.