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/DYN/dynadv.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/DYN/dynadv.F90

    r3294 r3875  
    8989      !!---------------------------------------------------------------------- 
    9090      INTEGER ::   ioptio 
     91      INTEGER  ::   ios                 ! Local integer output status for namelist read 
    9192      !! 
    9293      NAMELIST/namdyn_adv/ ln_dynadv_vec, ln_dynadv_cen2 , ln_dynadv_ubs 
    9394      !!---------------------------------------------------------------------- 
    9495 
    95       REWIND ( numnam )               ! Read Namelist namdyn_adv : momentum advection scheme 
    96       READ   ( numnam, namdyn_adv ) 
     96      REWIND( numnam_ref )              ! Namelist namdyn_adv in reference namelist : Momentum advection scheme 
     97      READ  ( numnam_ref, namdyn_adv, IOSTAT = ios, ERR = 901) 
     98901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdyn_adv in reference namelist', lwp ) 
     99 
     100      REWIND( numnam_cfg )              ! Namelist namdyn_adv in configuration namelist : Momentum advection scheme 
     101      READ  ( numnam_cfg, namdyn_adv, IOSTAT = ios, ERR = 902 ) 
     102902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdyn_adv in configuration namelist', lwp ) 
     103      WRITE ( numond, namdyn_adv ) 
    97104 
    98105      IF(lwp) THEN                    ! Namelist print 
Note: See TracChangeset for help on using the changeset viewer.