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

Ignore:
Timestamp:
2004-02-17T10:20:15+01:00 (20 years ago)
Author:
opalod
Message:

CT : UPDATE001 : First major NEMO update

File:
1 edited

Legend:

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

    r3 r32  
    2222   !!---------------------------------------------------------------------- 
    2323 
    24    LOGICAL , PUBLIC ::              & !!! ** lateral mixing namelist (nam_traldf) ** 
    25       ln_traldf_lap   = .TRUE.  ,   &  ! laplacian operator 
    26       ln_traldf_bilap = .FALSE. ,   &  ! bilaplacian operator 
    27       ln_traldf_level = .FALSE. ,   &  ! iso-level direction 
    28       ln_traldf_hor   = .FALSE. ,   &  ! horizontal (geopotential) direction 
    29       ln_traldf_iso   = .TRUE.         ! iso-neutral direction 
     24   LOGICAL , PUBLIC ::              & !!: ** lateral mixing namelist (nam_traldf) ** 
     25      ln_traldf_lap   = .TRUE.  ,   &  !: laplacian operator 
     26      ln_traldf_bilap = .FALSE. ,   &  !: bilaplacian operator 
     27      ln_traldf_level = .FALSE. ,   &  !: iso-level direction 
     28      ln_traldf_hor   = .FALSE. ,   &  !: horizontal (geopotential) direction 
     29      ln_traldf_iso   = .TRUE.         !: iso-neutral direction 
    3030 
    31    REAL(wp), PUBLIC ::              & !!! ** lateral mixing namelist (namldf) ** 
    32       aht0  = 2000._wp     ,        &  ! lateral eddy diffusivity (m2/s) 
    33       ahtb0 =    0._wp     ,        &  ! lateral background eddy diffusivity (m2/s) 
    34       aeiv0 = 2000._wp                 ! eddy induced velocity coefficient (m2/s) 
     31   REAL(wp), PUBLIC ::              & !!: ** lateral mixing namelist (namldf) ** 
     32      aht0  = 2000._wp     ,        &  !: lateral eddy diffusivity (m2/s) 
     33      ahtb0 =    0._wp     ,        &  !: lateral background eddy diffusivity (m2/s) 
     34      aeiv0 = 2000._wp                 !: eddy induced velocity coefficient (m2/s) 
    3535 
    36    LOGICAL , PUBLIC ::              &  ! flag of the lateral diff. scheme used  
    37       l_traldf_lap         ,        &  ! iso-level laplacian operator 
    38       l_traldf_bilap       ,        &  ! iso-level bilaplacian operator 
    39       l_traldf_bilapg      ,        &  ! geopotential bilap. (s-coord) 
    40       l_traldf_iso         ,        &  ! iso-neutral laplacian or horizontal lapacian (s-coord) 
    41       l_trazdf_iso         ,        &  ! idem for the vertical component 
    42       l_trazdf_iso_vo      ,        &  ! idem with vectopt_memory 
    43       l_traldf_iso_zps                 ! iso-neutral laplacian (partial steps) 
     36   LOGICAL , PUBLIC ::              &  !: flag of the lateral diff. scheme used  
     37      l_traldf_lap         ,        &  !: iso-level laplacian operator 
     38      l_traldf_bilap       ,        &  !: iso-level bilaplacian operator 
     39      l_traldf_bilapg      ,        &  !: geopotential bilap. (s-coord) 
     40      l_traldf_iso         ,        &  !: iso-neutral laplacian or horizontal lapacian (s-coord) 
     41      l_trazdf_iso         ,        &  !: idem for the vertical component 
     42      l_trazdf_iso_vo      ,        &  !: idem with vectopt_memory 
     43      l_traldf_iso_zps                 !: iso-neutral laplacian (partial steps) 
    4444 
    4545#if defined key_traldf_c3d 
    46    REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::   &  ! ** 3D coefficients ** 
     46   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::   &  !: ** 3D coefficients ** 
    4747#elif defined key_traldf_c2d 
    48    REAL(wp), PUBLIC, DIMENSION(jpi,jpj)     ::   &  ! ** 2D coefficients ** 
     48   REAL(wp), PUBLIC, DIMENSION(jpi,jpj)     ::   &  !: ** 2D coefficients ** 
    4949#elif defined key_traldf_c1d 
    50    REAL(wp), PUBLIC, DIMENSION(jpk)         ::   &  ! ** 1D coefficients ** 
     50   REAL(wp), PUBLIC, DIMENSION(jpk)         ::   &  !: ** 1D coefficients ** 
    5151#else 
    52    REAL(wp), PUBLIC                         ::   &  ! ** 0D coefficients ** 
     52   REAL(wp), PUBLIC                         ::   &  !: ** 0D coefficients ** 
    5353#endif 
    54       ahtt, ahtu, ahtv, ahtw                ! T-, U-, V-, W-points coefficients 
     54      ahtt, ahtu, ahtv, ahtw                !: T-, U-, V-, W-points coefficients 
    5555 
    5656 
     
    5959   !!   'key_traldf_eiv'                              eddy induced velocity 
    6060   !!---------------------------------------------------------------------- 
    61    LOGICAL, PUBLIC, PARAMETER ::   lk_traldf_eiv   = .TRUE.   ! eddy induced velocity flag 
     61   LOGICAL, PUBLIC, PARAMETER ::   lk_traldf_eiv   = .TRUE.   !: eddy induced velocity flag 
    6262       
    6363# if defined key_traldf_c3d 
    64    REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::   &  ! ** 3D coefficients ** 
     64   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::   &  !: ** 3D coefficients ** 
    6565# elif defined key_traldf_c2d 
    66    REAL(wp), PUBLIC, DIMENSION(jpi,jpj)     ::   &  ! ** 2D coefficients ** 
     66   REAL(wp), PUBLIC, DIMENSION(jpi,jpj)     ::   &  !: ** 2D coefficients ** 
    6767# elif defined key_traldf_c1d 
    68    REAL(wp), PUBLIC, DIMENSION(jpk)         ::   &  ! ** 1D coefficients ** 
     68   REAL(wp), PUBLIC, DIMENSION(jpk)         ::   &  !: ** 1D coefficients ** 
    6969# else 
    70    REAL(wp), PUBLIC                         ::   &  ! ** 0D coefficients ** 
     70   REAL(wp), PUBLIC                         ::   &  !: ** 0D coefficients ** 
    7171# endif 
    72       aeiu, aeiv, aeiw                              ! U-, V-, W-points  induced velocity coef. (m2/s) 
     72      aeiu, aeiv, aeiw                              !: U-, V-, W-points  induced velocity coef. (m2/s) 
    7373 
    7474# if defined key_diaeiv 
    75    REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::    & 
    76       u_eiv,      &  ! The three component of the eddy induced velocity (m/s) 
    77       v_eiv,      &  ! saved for diagnostics and/or outputs 
    78       w_eiv          !  
     75   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::    &  !: 
     76      u_eiv, v_eiv, w_eiv     !: The three component of the eddy induced velocity (m/s) 
    7977# endif 
    8078 
     
    8381   !!   Default option :                           NO eddy induced velocity 
    8482   !!---------------------------------------------------------------------- 
    85    LOGICAL , PUBLIC, PARAMETER ::   lk_traldf_eiv   = .FALSE.   ! eddy induced velocity flag 
     83   LOGICAL , PUBLIC, PARAMETER ::   lk_traldf_eiv   = .FALSE.   !: eddy induced velocity flag 
    8684   REAL(wp), PUBLIC ::   aeiu, aeiv, aeiw 
    8785#endif 
Note: See TracChangeset for help on using the changeset viewer.