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 1537 for trunk/NEMO/OPA_SRC/ZDF/zdftmx.F90 – NEMO

Ignore:
Timestamp:
2009-07-24T16:22:23+02:00 (15 years ago)
Author:
ctlod
Message:

ensure the restartability of the 2nd order advection scheme,see ticket: 489

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/ZDF/zdftmx.F90

    r1527 r1537  
    320320      REAL(wp), DIMENSION(jpi,jpj,jpk) ::  zpc      ! power consumption 
    321321      !! 
    322       NAMELIST/namtmx/ rn_htmx, rn_n2min, rn_tfe, rn_me, ln_tmx_itf, rn_tfe_itf 
    323       !!---------------------------------------------------------------------- 
    324  
    325       IF(lwp) THEN 
     322      NAMELIST/nam_tmx/ rn_htmx, rn_n2min, rn_tfe, rn_me, ln_tmx_itf, rn_tfe_itf 
     323      !!---------------------------------------------------------------------- 
     324 
     325      REWIND ( numnam )              ! Read Namelist namtmx : Tidal Mixing 
     326      READ   ( numnam, nam_tmx ) 
     327 
     328      IF(lwp) THEN                   ! Control print 
    326329         WRITE(numout,*) 
    327330         WRITE(numout,*) 'zdf_tmx_init : tidal mixing' 
    328331         WRITE(numout,*) '~~~~~~~~~~~~' 
     332         WRITE(numout,*) '   Namelist namtmx : set tidal mixing parameters' 
     333         WRITE(numout,*) '      Vertical decay scale for turbulence   = ', rn_htmx  
     334         WRITE(numout,*) '      Brunt-Vaisala frequency threshold     = ', rn_n2min 
     335         WRITE(numout,*) '      Tidal dissipation efficiency          = ', rn_tfe 
     336         WRITE(numout,*) '      Mixing efficiency                     = ', rn_me 
     337         WRITE(numout,*) '      ITF specific parameterisation         = ', ln_tmx_itf 
     338         WRITE(numout,*) '      ITF tidal dissipation efficiency      = ', rn_tfe_itf 
    329339      ENDIF 
    330340 
    331       ! Read Namelist namtmx : Tidal Mixing 
    332       ! -------------------- 
    333       REWIND ( numnam ) 
    334       READ   ( numnam, namtmx ) 
    335  
    336       ! Control print 
    337       IF(lwp) THEN 
    338          WRITE(numout,*) '          Namelist namtmx : set tidal mixing parameters' 
    339          WRITE(numout,*) '             Vertical decay scale for turbulence   = ', rn_htmx  
    340          WRITE(numout,*) '             Brunt-Vaisala frequency threshold     = ', rn_n2min 
    341          WRITE(numout,*) '             Tidal dissipation efficiency          = ', rn_tfe 
    342          WRITE(numout,*) '             Mixing efficiency                     = ', rn_me 
    343          WRITE(numout,*) '             ITF specific parameterisation         = ', ln_tmx_itf 
    344          WRITE(numout,*) '             ITF tidal dissipation efficiency      = ', rn_tfe_itf 
    345          WRITE(numout,*) 
    346       ENDIF 
    347  
    348       IF( ln_tmx_itf ) THEN   ! read the Indonesian Through Flow mask 
     341      IF( ln_tmx_itf ) THEN          ! read the Indonesian Through Flow mask 
    349342         CALL iom_open('mask_itf',inum) 
    350343         CALL iom_get (inum, jpdom_data, 'tmaskitf',mask_itf,1) !  
Note: See TracChangeset for help on using the changeset viewer.