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/limdmp_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/limdmp_2.F90

    r3635 r3875  
    9797      INTEGER  :: ji, jj, jk       ! dummy loop indices 
    9898      INTEGER  :: irelax, ierror   ! error flag for allocation 
     99      INTEGER  ::   ios            ! Local integer output status for namelist read 
    99100      ! 
    100101      REAL(wp) :: zdmpmax, zdmpmin, zfactor, zreltim ! temporary scalar 
     
    116117      sn_hicif = FLD_N( 'ice_damping ', -1       , 'hicif'  ,  .true.    , .true.  ,  'yearly'   ,  ''      ,  ''      ) 
    117118      sn_frld  = FLD_N( 'ice_damping ', -1       , 'frld'   ,  .true.    , .true.  ,  'yearly'   ,  ''      ,  ''      ) 
     119                     
     120      REWIND( numnam_ice_ref )              ! Namelist namice_dmp in reference namelist : Ice restoring 
     121      READ  ( numnam_ice_ref, namice_dmp, IOSTAT = ios, ERR = 901) 
     122901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namice_dmp in reference namelist', lwp ) 
    118123 
    119       REWIND( numnam_ice )                !* read in namelist_ice namicedmp 
    120       READ  ( numnam_ice, namice_dmp ) 
     124      REWIND( numnam_ice_cfg )              ! Namelist  namice_dmp in configuration namelist : Ice restoring 
     125      READ  ( numnam_ice_cfg, namice_dmp, IOSTAT = ios, ERR = 902 ) 
     126902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namice_dmp in configuration namelist', lwp ) 
     127      WRITE ( numoni, namice_dmp ) 
    121128      ! 
    122129      IF ( lwp ) THEN                     !* control print 
Note: See TracChangeset for help on using the changeset viewer.