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/LIM_SRC_2/limistate_2.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/LIM_SRC_2/limistate_2.F90

    r3625 r3875  
    163163      INTEGER :: inum_ice 
    164164      INTEGER :: ji,jj 
     165      INTEGER :: ios                 ! Local integer output status for namelist read 
    165166 
    166167      NAMELIST/namiceini/ ln_limini, ttest, hninn, hginn, alinn, & 
    167168         &                hnins, hgins, alins 
    168169      !!------------------------------------------------------------------- 
    169       ! 
    170       REWIND ( numnam_ice )               ! Read Namelist namiceini  
    171       READ   ( numnam_ice , namiceini ) 
     170                    
     171      REWIND( numnam_ice_ref )              ! Namelist namiceini in reference namelist : Ice initial state 
     172      READ  ( numnam_ice_ref, namiceini, IOSTAT = ios, ERR = 901) 
     173901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namiceini in reference namelist', lwp ) 
     174 
     175      REWIND( numnam_ice_cfg )              ! Namelist namiceini in configuration namelist : Ice initial state 
     176      READ  ( numnam_ice_cfg, namiceini, IOSTAT = ios, ERR = 902 ) 
     177902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namiceini in configuration namelist', lwp ) 
     178      WRITE ( numoni, namiceini ) 
    172179      ! 
    173180      IF(lwp) THEN 
Note: See TracChangeset for help on using the changeset viewer.