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/NST_SRC – 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/NST_SRC/agrif_user.F90

    r3680 r3875  
    586586   IMPLICIT NONE 
    587587   ! 
     588   INTEGER  ::   ios                 ! Local integer output status for namelist read 
    588589   NAMELIST/namagrif/ nn_cln_update, rn_sponge_tra, rn_sponge_dyn, ln_spc_dyn 
    589590   !!---------------------------------------------------------------------- 
    590591   ! 
    591    REWIND( numnam )                ! Read namagrif namelist 
    592    READ  ( numnam, namagrif ) 
     592      REWIND( numnam_ref )              ! Namelist namagrif in reference namelist : AGRIF zoom 
     593      READ  ( numnam_ref, namagrif, IOSTAT = ios, ERR = 901) 
     594901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namagrif in reference namelist', lwp ) 
     595 
     596      REWIND( numnam_cfg )              ! Namelist namagrif in configuration namelist : AGRIF zoom 
     597      READ  ( numnam_cfg, namagrif, IOSTAT = ios, ERR = 902 ) 
     598902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namagrif in configuration namelist', lwp ) 
     599      WRITE ( numond, namagrif ) 
    593600   ! 
    594601   IF(lwp) THEN                    ! control print 
Note: See TracChangeset for help on using the changeset viewer.