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 4059 for branches/2013/dev_r3996_CMCC6_topbc – NEMO

Ignore:
Timestamp:
2013-10-11T15:47:34+02:00 (11 years ago)
Author:
vichi
Message:

Prepare new changed file to the merge with config setting

The modified files that include the reading of a namelist
now contain a commented piece of code that is
compliant with the development branch on config settings
Older reading of namelist is maintained for running tests
before the merge party

Location:
branches/2013/dev_r3996_CMCC6_topbc/NEMOGCM/NEMO/TOP_SRC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r3996_CMCC6_topbc/NEMOGCM/NEMO/TOP_SRC/trcbc.F90

    r4058 r4059  
    2121   PRIVATE 
    2222 
    23    PUBLIC   trc_bc_init, trc_bc_read  
     23   PUBLIC   trc_bc_init    ! called in trcini.F90  
     24   PUBLIC   trc_bc_read    ! called in trcstp.F90 or within 
    2425 
    2526   INTEGER  , SAVE, PUBLIC                             :: nb_trcobc   ! number of tracers with open BC 
     
    6162      INTEGER            :: jl, jn                         ! dummy loop indices 
    6263      INTEGER            :: ierr0, ierr1, ierr2, ierr3     ! temporary integers 
     64      INTEGER            ::  ios                           ! Local integer output status for namelist read 
    6365      CHARACTER(len=100) :: clndta, clntrc 
    6466      ! 
     
    147149      END DO 
    148150      ! 
    149       ! Read boundary conditions in namelist_top 
    150       ! 
     151!MAV temporary code for 3.5 
    151152      REWIND( numnat )               ! read nattrc 
    152153      READ  ( numnat, namtrc_bc ) 
     154!MAV future code for 3.6 
     155!      REWIND( numnat_ref )              ! Namelist namtrc_bc in reference namelist : Passive tracer data structure 
     156!      READ  ( numnat_ref, namtrc_bc, IOSTAT = ios, ERR = 901) 
     157!901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtrc_bc in reference namelist', lwp ) 
     158! 
     159!      REWIND( numnat_cfg )              ! Namelist namtrc_bc in configuration namelist : Passive tracer data structure 
     160!      READ  ( numnat_cfg, namtrc_bc, IOSTAT = ios, ERR = 902 ) 
     161!902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtrc_bc in configuration namelist', lwp ) 
     162!      WRITE ( numont, namtrc_bc ) 
    153163 
    154164      ! print some information for each  
  • branches/2013/dev_r3996_CMCC6_topbc/NEMOGCM/NEMO/TOP_SRC/trcdta.F90

    r4058 r4059  
    5757      INTEGER            :: jl, jn                           ! dummy loop indices 
    5858      INTEGER            :: ierr0, ierr1, ierr2, ierr3       ! temporary integers 
     59      INTEGER            ::  ios                     ! Local integer output status for namelist read 
    5960      CHARACTER(len=100) :: clndta, clntrc 
    6061      REAL(wp)           :: zfact 
     
    105106      END DO 
    106107      ! 
     108!MAV temporary code for 3.5 
    107109      REWIND( numnat )               ! read nattrc 
    108110      READ  ( numnat, namtrc_dta ) 
     111!MAV future code for 3.6 
     112!      REWIND( numnat_ref )              ! Namelist namtrc_dta in reference namelist : Passive tracer data 
     113!      READ  ( numnat_ref, namtrc_dta, IOSTAT = ios, ERR = 901) 
     114!901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtrc_dta in reference namelist', lwp ) 
     115! 
     116!      REWIND( numnat_cfg )              ! Namelist namtrc_dta in configuration namelist : Passive tracer data 
     117!      READ  ( numnat_cfg, namtrc_dta, IOSTAT = ios, ERR = 902 ) 
     118!902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtrc_dta in configuration namelist', lwp ) 
     119!      WRITE ( numont, namtrc_dta ) 
    109120 
    110121      IF( lwp ) THEN 
Note: See TracChangeset for help on using the changeset viewer.