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/ZDF/zdftmx.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/ZDF/zdftmx.F90

    r1546 r1601  
    3131   LOGICAL, PUBLIC, PARAMETER ::   lk_zdftmx = .TRUE.    !: tidal mixing flag 
    3232 
    33    !                                  !!* Namelist  namtmx : tidal mixing * 
     33   !                                  !!* Namelist  namzdf_tmx : tidal mixing * 
    3434   REAL(wp) ::  rn_htmx    = 500.      ! vertical decay scale for turbulence (meters) 
    3535   REAL(wp) ::  rn_n2min   = 1.e-8     ! threshold of the Brunt-Vaisala frequency (s-1) 
     
    8888      !!              Koch-Larrouy et al. 2007, GRL. 
    8989      !!---------------------------------------------------------------------- 
    90       USE oce,   zav_tide  =>   ua   ! use ua as workspace 
     90      USE oce, zav_tide  =>   ua    ! use ua as workspace 
    9191      !! 
    9292      INTEGER, INTENT(in) ::   kt   ! ocean time-step  
     
    329329      REAL(wp), DIMENSION(jpi,jpj,jpk) ::  zpc      ! power consumption 
    330330      !! 
    331       NAMELIST/nam_tmx/ rn_htmx, rn_n2min, rn_tfe, rn_me, ln_tmx_itf, rn_tfe_itf 
    332       !!---------------------------------------------------------------------- 
    333  
    334       REWIND ( numnam )              ! Read Namelist namtmx : Tidal Mixing 
    335       READ   ( numnam, nam_tmx ) 
     331      NAMELIST/namzdf_tmx/ rn_htmx, rn_n2min, rn_tfe, rn_me, ln_tmx_itf, rn_tfe_itf 
     332      !!---------------------------------------------------------------------- 
     333 
     334      REWIND( numnam )               ! Read Namelist namtmx : Tidal Mixing 
     335      READ  ( numnam, namzdf_tmx ) 
    336336 
    337337      IF(lwp) THEN                   ! Control print 
     
    339339         WRITE(numout,*) 'zdf_tmx_init : tidal mixing' 
    340340         WRITE(numout,*) '~~~~~~~~~~~~' 
    341          WRITE(numout,*) '   Namelist namtmx : set tidal mixing parameters' 
     341         WRITE(numout,*) '   Namelist namzdf_tmx : set tidal mixing parameters' 
    342342         WRITE(numout,*) '      Vertical decay scale for turbulence   = ', rn_htmx  
    343343         WRITE(numout,*) '      Brunt-Vaisala frequency threshold     = ', rn_n2min 
Note: See TracChangeset for help on using the changeset viewer.