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/DIA/diaharm.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/DIA/diaharm.F90

    r3294 r3875  
    7878      !! * Local declarations  
    7979      INTEGER :: jh, nhan, jk, ji 
     80      INTEGER ::   ios                 ! Local integer output status for namelist read 
    8081 
    8182      NAMELIST/nam_diaharm/ nit000_han, nitend_han, nstep_han, tname 
     
    9293      tname(:)='' 
    9394      ! 
    94       ! Read Namelist nam_diaharm 
    95       REWIND ( numnam ) 
    96       READ   ( numnam, nam_diaharm ) 
     95      REWIND( numnam_ref )              ! Namelist nam_diaharm in reference namelist : Tidal harmonic analysis 
     96      READ  ( numnam_ref, nam_diaharm, IOSTAT = ios, ERR = 901) 
     97901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_diaharm in reference namelist', lwp ) 
     98 
     99      REWIND( numnam_cfg )              ! Namelist nam_diaharm in configuration namelist : Tidal harmonic analysis 
     100      READ  ( numnam_cfg, nam_diaharm, IOSTAT = ios, ERR = 902 ) 
     101902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_diaharm in configuration namelist', lwp ) 
     102      WRITE ( numond, nam_diaharm ) 
    97103      ! 
    98104      IF(lwp) THEN 
Note: See TracChangeset for help on using the changeset viewer.