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

    r3625 r4147  
    2828   PUBLIC   dia_hsb_init   ! routine called by opa.F90 
    2929 
    30    LOGICAL, PUBLIC ::   ln_diahsb  = .FALSE.  !: check the heat and salt budgets 
     30   LOGICAL, PUBLIC ::   ln_diahsb  !: check the heat and salt budgets 
    3131 
    3232   INTEGER                                 ::   numhsb                           ! 
     
    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.