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 4147 for branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/LIM_SRC_2/limthd_2.F90 – NEMO

Ignore:
Timestamp:
2013-11-04T12:51:55+01:00 (10 years ago)
Author:
cetlod
Message:

merge in dev_LOCEAN_2013, the 1st development branch dev_r3853_CNRS9_Confsetting, from its starting point ( r3853 ) on the trunk: see ticket #1169

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/LIM_SRC_2/limthd_2.F90

    r3625 r4147  
    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.