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

Changeset 2939


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

change the order of multiply viscosity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_r2802_NOCL_Smagorinsky/NEMOGCM/NEMO/OPA_SRC/DYN/dynldf_bilapg.F90

    r2926 r2939  
    413413         ! --------------------------------------------------------------------- 
    414414 
    415          IF( kahm == 1 ) THEN 
     415         IF( ( kahm -nkahm_smag ) == 1 ) THEN 
    416416            ! multiply the laplacian by the eddy viscosity coefficient 
    417417            DO jk = 1, jpkm1 
     
    428428               END DO 
    429429            END DO 
    430          ELSEIF( kahm == 2 ) THEN 
     430         ELSEIF( (kahm +nkahm_smag ) == 2 ) THEN 
    431431            ! second call, no multiplication 
    432432            DO jk = 1, jpkm1 
Note: See TracChangeset for help on using the changeset viewer.