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/BDY/bdytides.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/BDY/bdytides.F90

    r3651 r3875  
    7676      INTEGER, DIMENSION(3)                     ::   ilen0       !: length of boundary data (from OBC arrays) 
    7777      INTEGER, POINTER, DIMENSION(:)            ::   nblen, nblenrim     ! short cuts 
     78      INTEGER                                   ::   ios                 ! Local integer output status for namelist read 
    7879      CHARACTER(len=80)                         ::   clfile              !: full file name for tidal input file  
    7980      REAL(wp),ALLOCATABLE, DIMENSION(:,:,:)    ::   dta_read            !: work space to read in tidal harmonics data 
     
    9697      ln_bdytide_conj  = .FALSE. 
    9798 
    98       REWIND(numnam) 
     99      REWIND(numnam_cfg) 
     100 
    99101      DO ib_bdy = 1, nb_bdy 
    100102         IF( nn_dyn2d_dta(ib_bdy) .ge. 2 ) THEN 
     
    108110 
    109111            ! Don't REWIND here - may need to read more than one of these namelists. 
    110             READ  ( numnam, nambdy_tide ) 
     112            ! Read only configuration namelist to avoid unsecessful overwrite 
     113!!          REWIND( numnam_ref )              ! Namelist nambdy_tide in reference namelist :  
     114!!          READ  ( numnam_ref, nambdy_tide, IOSTAT = ios, ERR = 901) 
     115!!    901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'nambdy_tide in reference namelist', lwp ) 
     116 
     117!!          REWIND( numnam_cfg )              ! Namelist nambdy_tide in configuration namelist :  
     118            READ  ( numnam_cfg, nambdy_tide, IOSTAT = ios, ERR = 902 ) 
     119902         IF( ios /= 0 ) CALL ctl_nam ( ios , 'nambdy_tide in configuration namelist', lwp ) 
     120            WRITE ( numond, nambdy_tide ) 
    111121            !                                               ! Parameter control and print 
    112122            IF(lwp) WRITE(numout,*) '  ' 
Note: See TracChangeset for help on using the changeset viewer.