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 3875 for branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/NEMO/OPA_SRC/ZDF/zdftmx.F90 – NEMO

Ignore:
Timestamp:
2013-04-18T16:38:06+02:00 (11 years ago)
Author:
clevy
Message:

Configuration Setting/Step? 1, see ticket:#1074

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/NEMO/OPA_SRC/ZDF/zdftmx.F90

    r3625 r3875  
    354354      INTEGER  ::   ji, jj, jk   ! dummy loop indices 
    355355      INTEGER  ::   inum         ! local integer 
     356      INTEGER  ::   ios 
    356357      REAL(wp) ::   ztpc, ze_z   ! local scalars 
    357358      REAL(wp), DIMENSION(:,:)  , POINTER ::  zem2, zek1   ! read M2 and K1 tidal energy 
     
    369370      CALL wrk_alloc( jpi,jpj,jpk, zpc ) 
    370371       
    371       REWIND( numnam )               ! Read Namelist namtmx : Tidal Mixing 
    372       READ  ( numnam, namzdf_tmx ) 
     372      REWIND( numnam_ref )              ! Namelist namzdf_tmx in reference namelist : Tidal Mixing 
     373      READ  ( numnam_ref, namzdf_tmx, IOSTAT = ios, ERR = 901) 
     374901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzdf_tmx in reference namelist', lwp ) 
     375 
     376      REWIND( numnam_cfg )              ! Namelist namzdf_tmx in configuration namelist : Tidal Mixing 
     377      READ  ( numnam_cfg, namzdf_tmx, IOSTAT = ios, ERR = 902 ) 
     378902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzdf_tmx in configuration namelist', lwp ) 
     379      WRITE ( numond, namzdf_tmx ) 
    373380 
    374381      IF(lwp) THEN                   ! Control print 
Note: See TracChangeset for help on using the changeset viewer.