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 1601 for trunk/NEMO/OPA_SRC/LDF/ldftra_oce.F90 – NEMO

Ignore:
Timestamp:
2009-08-11T12:09:19+02:00 (15 years ago)
Author:
ctlod
Message:

Doctor naming of OPA namelist variables , see ticket: #526

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/LDF/ldftra_oce.F90

    r1152 r1601  
    44   !! Ocean physics :  lateral tracer mixing coefficient defined in memory  
    55   !!===================================================================== 
    6    !! 
    7    !! ** Purpose : - Define in memory lateral tracer mixing coefficients 
    8    !! 
    9    !! History : 
    10    !!   9.0  !  02-11  (G. Madec)  Original code (from common.h) 
     6   !! History :  9.0  !  02-11  (G. Madec)  Original code 
    117   !!---------------------------------------------------------------------- 
    12    !!  OPA 9.0 , LOCEAN-IPSL (2005)  
    13    !! $Id$  
    14    !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt  
    15    !!---------------------------------------------------------------------- 
    16    !! * Modules used 
    178   USE par_oce         ! ocean parameters 
    189 
     
    2314   !! Lateral eddy diffusivity coefficients (tracers) 
    2415   !!---------------------------------------------------------------------- 
     16   !                                                !!* Namelist namtra_ldf : lateral mixing * 
     17   LOGICAL , PUBLIC ::   ln_traldf_lap   = .TRUE.    !: laplacian operator 
     18   LOGICAL , PUBLIC ::   ln_traldf_bilap = .FALSE.   !: bilaplacian operator 
     19   LOGICAL , PUBLIC ::   ln_traldf_level = .FALSE.   !: iso-level direction 
     20   LOGICAL , PUBLIC ::   ln_traldf_hor   = .FALSE.   !: horizontal (geopotential) direction 
     21   LOGICAL , PUBLIC ::   ln_traldf_iso   = .TRUE.    !: iso-neutral direction 
     22   REAL(wp), PUBLIC ::   rn_aht_0        = 2000._wp  !: lateral eddy diffusivity (m2/s) 
     23   REAL(wp), PUBLIC ::   rn_ahtb_0       =    0._wp  !: lateral background eddy diffusivity (m2/s) 
     24   REAL(wp), PUBLIC ::   rn_aeiv_0       = 2000._wp  !: eddy induced velocity coefficient (m2/s) 
    2525 
    26    LOGICAL , PUBLIC ::              & !!: ** lateral mixing namelist (nam_traldf) ** 
    27       ln_traldf_lap   = .TRUE.  ,   &  !: laplacian operator 
    28       ln_traldf_bilap = .FALSE. ,   &  !: bilaplacian operator 
    29       ln_traldf_level = .FALSE. ,   &  !: iso-level direction 
    30       ln_traldf_hor   = .FALSE. ,   &  !: horizontal (geopotential) direction 
    31       ln_traldf_iso   = .TRUE.         !: iso-neutral direction 
    32  
    33    REAL(wp), PUBLIC ::              & !!: ** lateral mixing namelist (namldf) ** 
    34       aht0  = 2000._wp     ,        &  !: lateral eddy diffusivity (m2/s) 
    35       ahtb0 =    0._wp     ,        &  !: lateral background eddy diffusivity (m2/s) 
    36       aeiv0 = 2000._wp                 !: eddy induced velocity coefficient (m2/s) 
     26   REAL(wp), PUBLIC ::   aht0, ahtb0, aeiv0         !!: OLD namelist names 
    3727 
    3828#if defined key_traldf_c3d 
    39    REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::   &  !: ** 3D coefficients ** 
     29   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::   ahtt, ahtu, ahtv, ahtw   !: ** 3D coefficients ** at T-, U-, V-, W-points 
    4030#elif defined key_traldf_c2d 
    41    REAL(wp), PUBLIC, DIMENSION(jpi,jpj)     ::   &  !: ** 2D coefficients ** 
     31   REAL(wp), PUBLIC, DIMENSION(jpi,jpj)     ::   ahtt, ahtu, ahtv, ahtw   !: ** 2D coefficients ** at T-, U-, V-, W-points 
    4232#elif defined key_traldf_c1d 
    43    REAL(wp), PUBLIC, DIMENSION(jpk)         ::   &  !: ** 1D coefficients ** 
     33   REAL(wp), PUBLIC, DIMENSION(jpk)         ::   ahtt, ahtu, ahtv, ahtw   !: ** 1D coefficients ** at T-, U-, V-, W-points 
    4434#else 
    45    REAL(wp), PUBLIC                         ::   &  !: ** 0D coefficients ** 
     35   REAL(wp), PUBLIC                         ::   ahtt, ahtu, ahtv, ahtw   !: ** 0D coefficients ** at T-, U-, V-, W-points 
    4636#endif 
    47       ahtt, ahtu, ahtv, ahtw                !: T-, U-, V-, W-points coefficients 
    4837 
    4938 
     
    5544       
    5645# if defined key_traldf_c3d 
    57    REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::   &  !: ** 3D coefficients ** 
     46   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::   aeiu, aeiv, aeiw  !: ** 3D coefficients ** at U-, V-, W-points  [m2/s] 
    5847# elif defined key_traldf_c2d 
    59    REAL(wp), PUBLIC, DIMENSION(jpi,jpj)     ::   &  !: ** 2D coefficients ** 
     48   REAL(wp), PUBLIC, DIMENSION(jpi,jpj)     ::   aeiu, aeiv, aeiw  !: ** 2D coefficients ** at U-, V-, W-points  [m2/s] 
    6049# elif defined key_traldf_c1d 
    61    REAL(wp), PUBLIC, DIMENSION(jpk)         ::   &  !: ** 1D coefficients ** 
     50   REAL(wp), PUBLIC, DIMENSION(jpk)         ::   aeiu, aeiv, aeiw  !: ** 1D coefficients ** at U-, V-, W-points  [m2/s] 
    6251# else 
    63    REAL(wp), PUBLIC                         ::   &  !: ** 0D coefficients ** 
     52   REAL(wp), PUBLIC                         ::   aeiu, aeiv, aeiw  !: ** 0D coefficients ** at U-, V-, W-points  [m2/s] 
    6453# endif 
    65       aeiu, aeiv, aeiw                              !: U-, V-, W-points  induced velocity coef. (m2/s) 
    66  
    6754# if defined key_diaeiv 
    68    REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::    &  !: 
    69       u_eiv, v_eiv, w_eiv     !: The three component of the eddy induced velocity (m/s) 
     55   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::   u_eiv, v_eiv, w_eiv   !: eddy induced velocity [m/s] 
    7056# endif 
    7157 
     
    7561   !!---------------------------------------------------------------------- 
    7662   LOGICAL , PUBLIC, PARAMETER ::   lk_traldf_eiv   = .FALSE.   !: eddy induced velocity flag 
    77    REAL(wp), PUBLIC ::   aeiu, aeiv, aeiw 
     63   REAL(wp), PUBLIC            ::   aeiu, aeiv, aeiw            !: eddy induced coef. (not used) 
    7864#endif 
    7965 
    8066   !!---------------------------------------------------------------------- 
     67   !! NEMO/OPA 3.2 , LOCEAN-IPSL (2009)  
     68   !! $Id$  
     69   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
     70   !!===================================================================== 
    8171END MODULE ldftra_oce 
Note: See TracChangeset for help on using the changeset viewer.