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 9169 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/TRP/trcadv.F90 – NEMO

Ignore:
Timestamp:
2017-12-26T17:32:56+01:00 (6 years ago)
Author:
gm
Message:

dev_merge_2017: all SRC: finalize the removal of useless warning when reading namelist_cfg + remove all nn_closea + nn_msh replaced by a logical

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/TRP/trcadv.F90

    r9019 r9169  
    153153      !!              passive tracer advection schemes and set nadv 
    154154      !!---------------------------------------------------------------------- 
    155       INTEGER ::   ioptio 
    156       INTEGER ::  ios                 ! Local integer output status for namelist read 
     155      INTEGER ::   ioptio, ios   ! Local integer 
    157156      !! 
    158157      NAMELIST/namtrc_adv/ ln_trcadv_NONE,                       &   ! No advection 
     
    167166      REWIND( numnat_ref )                   !  namtrc_adv in reference namelist  
    168167      READ  ( numnat_ref, namtrc_adv, IOSTAT = ios, ERR = 901) 
    169 901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtrc_adv in reference namelist', lwp ) 
    170       ! 
     168901   IF( ios /= 0 )   CALL ctl_nam ( ios , 'namtrc_adv in reference namelist', lwp ) 
    171169      REWIND( numnat_cfg )                   ! namtrc_adv in configuration namelist 
    172170      READ  ( numnat_cfg, namtrc_adv, IOSTAT = ios, ERR = 902 ) 
    173 902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtrc_adv in configuration namelist', lwp ) 
     171902   IF( ios >  0 )  CALL ctl_nam ( ios , 'namtrc_adv in configuration namelist', lwp ) 
    174172      IF(lwm) WRITE ( numont, namtrc_adv ) 
    175173      ! 
Note: See TracChangeset for help on using the changeset viewer.