Changeset 10951


Ignore:
Timestamp:
2019-05-09T12:27:16+02:00 (18 months ago)
Author:
jamesharle
Message:

namelist_cfg REWIND moved inside loop for nambdy_dta reading as, by
default, there is only a single nambdy_dta block (See ticket #2274)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/BDY/bdydta.F90

    r10934 r10951  
    508508      ! Read namelists 
    509509      ! -------------- 
    510       REWIND(numnam_ref) 
    511510      REWIND(numnam_cfg) 
    512511      jfld = 0  
    513512      DO jbdy = 1, nb_bdy          
    514513         IF( nn_dta(jbdy) == 1 ) THEN 
     514            REWIND(numnam_ref) 
    515515            READ  ( numnam_ref, nambdy_dta, IOSTAT = ios, ERR = 901) 
    516516901         IF( ios /= 0 )   CALL ctl_nam ( ios , 'nambdy_dta in reference namelist', lwp ) 
Note: See TracChangeset for help on using the changeset viewer.