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/DIA/diadct.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/DIA/diadct.F90

    r3680 r4147  
    6666 
    6767  !! * Module variables 
    68   INTEGER :: nn_dct      = 1     ! Frequency of computation 
    69   INTEGER :: nn_dctwri   = 1     ! Frequency of output 
    70   INTEGER :: nn_secdebug = 0     ! Number of the section to debug 
     68  INTEGER :: nn_dct        ! Frequency of computation 
     69  INTEGER :: nn_dctwri     ! Frequency of output 
     70  INTEGER :: nn_secdebug   ! Number of the section to debug 
    7171    
    7272  INTEGER, PARAMETER :: nb_class_max  = 10 
     
    139139     !!--------------------------------------------------------------------- 
    140140     NAMELIST/namdct/nn_dct,nn_dctwri,nn_secdebug 
     141     INTEGER  ::   ios                 ! Local integer output status for namelist read 
    141142 
    142143     IF( nn_timing == 1 )   CALL timing_start('dia_dct_init') 
    143144 
    144      !read namelist 
    145      REWIND( numnam ) 
    146      READ  ( numnam, namdct ) 
     145     REWIND( numnam_ref )              ! Namelist namdct in reference namelist : Diagnostic: transport through sections 
     146     READ  ( numnam_ref, namdct, IOSTAT = ios, ERR = 901) 
     147901  IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdct in reference namelist', lwp ) 
     148 
     149     REWIND( numnam_cfg )              ! Namelist namdct in configuration namelist : Diagnostic: transport through sections 
     150     READ  ( numnam_cfg, namdct, IOSTAT = ios, ERR = 902 ) 
     151902  IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdct in configuration namelist', lwp ) 
     152     WRITE ( numond, namdct ) 
    147153 
    148154     IF( lwp ) THEN 
Note: See TracChangeset for help on using the changeset viewer.