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 4147 for branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/BDY/bdytides.F90 – NEMO

Ignore:
Timestamp:
2013-11-04T12:51:55+01:00 (10 years ago)
Author:
cetlod
Message:

merge in dev_LOCEAN_2013, the 1st development branch dev_r3853_CNRS9_Confsetting, from its starting point ( r3853 ) on the trunk: see ticket #1169

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/BDY/bdytides.F90

    r3651 r4147  
    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 
     
    9394      ENDIF 
    9495 
    95       ln_bdytide_2ddta = .FALSE. 
    96       ln_bdytide_conj  = .FALSE. 
    97  
    98       REWIND(numnam) 
     96      REWIND(numnam_cfg) 
     97 
    9998      DO ib_bdy = 1, nb_bdy 
    10099         IF( nn_dyn2d_dta(ib_bdy) .ge. 2 ) THEN 
     
    107106            filtide(:) = '' 
    108107 
    109             ! Don't REWIND here - may need to read more than one of these namelists. 
    110             READ  ( numnam, nambdy_tide ) 
     108            ! Don't REWIND here - may need to read more than one of these namelists.  
     109            READ  ( numnam_ref, nambdy_tide, IOSTAT = ios, ERR = 901) 
     110901         IF( ios /= 0 ) CALL ctl_nam ( ios , 'nambdy_tide in reference namelist', lwp ) 
     111            READ  ( numnam_cfg, nambdy_tide, IOSTAT = ios, ERR = 902 ) 
     112902         IF( ios /= 0 ) CALL ctl_nam ( ios , 'nambdy_tide in configuration namelist', lwp ) 
     113            WRITE ( numond, nambdy_tide ) 
    111114            !                                               ! Parameter control and print 
    112115            IF(lwp) WRITE(numout,*) '  ' 
Note: See TracChangeset for help on using the changeset viewer.