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 902 for trunk/NEMO/OPA_SRC/TRA/traldf.F90 – NEMO

Ignore:
Timestamp:
2008-04-22T21:41:39+02:00 (16 years ago)
Author:
rblod
Message:

Correct a bug with key_ldf_slp and ln_traldf_iso = .FALSE., see ticket #118

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/TRA/traldf.F90

    r719 r902  
    3333   PUBLIC   tra_ldf    ! called by step.F90  
    3434 
    35    INTEGER ::   nldf = 0   ! type of lateral diffusion used defined from ln_traldf_... namlist logicals) 
     35   INTEGER, PUBLIC ::   nldf = 0   ! type of lateral diffusion used defined from ln_traldf_... namlist logicals) 
     36                                   ! (need to be public to be used in vertical diffusion routine) 
    3637#if defined key_traldf_ano 
    3738   REAL, DIMENSION(jpi,jpj,jpk) ::   t0_ldf, s0_ldf   ! lateral diffusion trends of T & S 
     
    159160 
    160161      ! defined the type of lateral diffusion from ln_traldf_... logicals 
     162      ! CAUTION : nldf = 1 is used in trazdf_imp, change it carefully 
    161163      ierr = 0 
    162164      IF( ln_traldf_lap ) THEN       ! laplacian operator 
Note: See TracChangeset for help on using the changeset viewer.