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_3/limistate.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_3/limistate.F90

    r3625 r3875  
    536536      !! ** input  :   namelist namiceini 
    537537      !!----------------------------------------------------------------------------- 
     538      INTEGER :: ios                 ! Local integer output status for namelist read 
    538539      NAMELIST/namiceini/ ttest, hninn, hginn_u, aginn_u, hginn_d, aginn_d, hnins,   & 
    539540         &                hgins_u, agins_u, hgins_d, agins_d, sinn, sins 
    540541      !!----------------------------------------------------------------------------- 
    541542      ! 
    542       REWIND ( numnam_ice )               ! Read Namelist namiceini  
    543       READ   ( numnam_ice , namiceini ) 
     543      REWIND( numnam_ice_ref )              ! Namelist namiceini in reference namelist : Ice initial state 
     544      READ  ( numnam_ice_ref, namiceini, IOSTAT = ios, ERR = 901) 
     545901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namiceini in reference namelist', lwp ) 
     546 
     547      REWIND( numnam_ice_cfg )              ! Namelist namiceini in configuration namelist : Ice initial state 
     548      READ  ( numnam_ice_cfg, namiceini, IOSTAT = ios, ERR = 902 ) 
     549902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namiceini in configuration namelist', lwp ) 
     550      WRITE ( numoni, namiceini ) 
    544551      ! 
    545552      IF(lwp) THEN                        ! control print 
Note: See TracChangeset for help on using the changeset viewer.