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 9490 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/oce_trc.F90 – NEMO

Ignore:
Timestamp:
2018-04-23T10:44:07+02:00 (6 years ago)
Author:
gm
Message:

#2075 - dev_merge_2017: scale-aware setting of lateral viscous and diffusive coefficient

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/oce_trc.F90

    r9125 r9490  
    7373 
    7474   USE trc_oce 
    75  
    76 !!gm : I don't understand this as ldftra (where everything is defined) is used by TRC in all cases (ON/OFF-line) 
    77 !!gm   so the following lines should be removed....   logical should be the one of TRC namelist 
    78 !!gm   In case off coarsening....  the ( ahtu, ahtv, aeiu, aeiv) arrays are needed that's all. 
    79    !* lateral diffusivity (tracers) * 
    80    USE ldftra , ONLY :  rn_aht_0     =>   rn_aht_0     !:   laplacian lateral eddy diffusivity [m2/s] 
    81    USE ldftra , ONLY :  rn_bht_0     =>   rn_bht_0     !: bilaplacian lateral eddy diffusivity [m4/s] 
    82    USE ldftra , ONLY :  ahtu         =>   ahtu         !: lateral diffusivity coef. at u-points  
    83    USE ldftra , ONLY :  ahtv         =>   ahtv         !: lateral diffusivity coef. at v-points  
    84    USE ldftra , ONLY :  rn_aeiv_0    =>   rn_aeiv_0    !: eddy induced velocity coefficient (m2/s)  
    85    USE ldftra , ONLY :  aeiu         =>   aeiu         !: eddy induced velocity coef. at u-points (m2/s)    
    86    USE ldftra , ONLY :  aeiv         =>   aeiv         !: eddy induced velocity coef. at v-points (m2/s)  
    87    USE ldftra , ONLY :  ln_ldfeiv    =>   ln_ldfeiv    !: eddy induced velocity flag 
    8875      
    89 !!gm this should be : ln_trcldf_triad (TRC namelist) 
    90    USE ldfslp , ONLY :  ln_traldf_triad => ln_traldf_triad   !: triad scheme (Griffies et al.) 
    91  
     76!!gm  this can be removed if : 
     77!!gm    in trcadv.F90 and trcsub.F90  we add a USE ldfslp 
    9278   !* direction of lateral diffusion * 
    9379   USE ldfslp , ONLY :   l_ldfslp  =>  l_ldfslp       !: slopes flag 
     
    9682   USE ldfslp , ONLY :   wslpi      =>   wslpi        !: i-slope at w-point 
    9783   USE ldfslp , ONLY :   wslpj      =>   wslpj        !: j-slope at w-point 
    98 !!gm end  
     84   USE ldfslp , ONLY :  ln_traldf_triad => ln_traldf_triad   !: use of triad scheme 
     85!!gm end 
    9986 
    10087   !* vertical diffusion * 
Note: See TracChangeset for help on using the changeset viewer.