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/OPA_SRC/DIA/diahsb.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/OPA_SRC/DIA/diahsb.F90

    r3625 r3875  
    163163      INTEGER            ::   jk       ! dummy loop indice 
    164164      INTEGER            ::   ierror   ! local integer 
     165      INTEGER            ::   ios      ! Local integer output status for namelist read 
    165166      !! 
    166167      NAMELIST/namhsb/ ln_diahsb 
    167168      !!---------------------------------------------------------------------- 
    168169      ! 
    169       REWIND ( numnam )              ! Read Namelist namhsb  
    170       READ   ( numnam, namhsb ) 
     170      REWIND( numnam_ref )              ! Namelist namhsb in reference namelist : Heat & salt budget 
     171      READ  ( numnam_ref, namhsb, IOSTAT = ios, ERR = 901) 
     172901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namhsb in reference namelist', lwp ) 
     173 
     174      REWIND( numnam_cfg )              ! Namelist namhsb in configuration namelist : Heat & salt budget 
     175      READ  ( numnam_cfg, namhsb, IOSTAT = ios, ERR = 902 ) 
     176902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namhsb in configuration namelist', lwp ) 
     177      WRITE ( numond, namhsb ) 
    171178      ! 
    172179      IF(lwp) THEN                   ! Control print 
Note: See TracChangeset for help on using the changeset viewer.