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/SBC/tideini.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/SBC/tideini.F90

    r3651 r3875  
    4646    INTEGER, INTENT( in ) ::   kt     ! ocean time-step 
    4747    CHARACTER(LEN=4), DIMENSION(jpmax_harmo) :: clname 
     48    INTEGER  ::   ios                 ! Local integer output status for namelist read 
    4849    ! 
    4950    NAMELIST/nam_tide/ln_tide_pot, ln_tide_ramp, rdttideramp, clname 
     
    6364       ! 
    6465       ! Read Namelist nam_tide 
    65        REWIND ( numnam ) 
    66        READ   ( numnam, nam_tide ) 
     66       REWIND( numnam_ref )              ! Namelist nam_tide in reference namelist : Tides 
     67       READ  ( numnam_ref, nam_tide, IOSTAT = ios, ERR = 901) 
     68901    IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_tide in reference namelist', lwp ) 
     69 
     70       REWIND( numnam_cfg )              ! Namelist nam_tide in configuration namelist : Tides 
     71       READ  ( numnam_cfg, nam_tide, IOSTAT = ios, ERR = 902 ) 
     72902    IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_tide in configuration namelist', lwp ) 
     73       WRITE ( numond, nam_tide ) 
    6774       ! 
    6875       nb_harmo=0 
Note: See TracChangeset for help on using the changeset viewer.