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/limthd_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/limthd_2.F90

    r3625 r3875  
    530530      !! ** input   :   Namelist namicether 
    531531      !!------------------------------------------------------------------- 
     532      INTEGER  ::   ios                 ! Local integer output status for namelist read 
    532533      NAMELIST/namicethd/ hmelt , hiccrit, hicmin, hiclim, amax  ,        & 
    533534         &                swiqst, sbeta  , parlat, hakspl, hibspl, exld,  & 
    534535         &                hakdif, hnzst  , thth  , parsub, alphs 
    535536      !!------------------------------------------------------------------- 
    536       ! 
    537       REWIND( numnam_ice )                  ! read namelist 
    538       READ  ( numnam_ice , namicethd ) 
     537                     
     538      REWIND( numnam_ice_ref )              ! Namelist namicethd in reference namelist : Ice thermodynamics 
     539      READ  ( numnam_ice_ref, namicethd, IOSTAT = ios, ERR = 901) 
     540901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namicethd in reference namelist', lwp ) 
     541 
     542      REWIND( numnam_ice_cfg )              ! Namelist namicethd in configuration namelist : Ice thermodynamics 
     543      READ  ( numnam_ice_cfg, namicethd, IOSTAT = ios, ERR = 902 ) 
     544902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namicethd in configuration namelist', lwp ) 
     545      WRITE ( numoni, namicethd ) 
     546 
    539547      IF( lk_cpl .AND. parsub /= 0.0 )   CALL ctl_stop( 'In coupled mode, use parsub = 0. or send dqla' ) 
    540548      ! 
Note: See TracChangeset for help on using the changeset viewer.