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 498 for trunk/NEMO/OFF_SRC/TRA/traqsr.F90 – NEMO

Ignore:
Timestamp:
2006-09-12T13:07:10+02:00 (18 years ago)
Author:
opalod
Message:

nemo_v1_update_065:CE:change the name of namelist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OFF_SRC/TRA/traqsr.F90

    r343 r498  
    3939      !! ** Method  :   The profile of solar radiation within the ocean is set 
    4040      !!      from two length scale of penetration (xsr1,xsr2) and a ratio 
    41       !!      (rabs). These parameters are read in the namqsr namelist. The 
     41      !!      (rabs). These parameters are read in the nam_qsr namelist. The 
    4242      !!      default values correspond to clear water (type I in Jerlov'  
    4343      !!      (1968) classification. 
     
    5454      !! * Local declarations 
    5555 
    56       NAMELIST/namqsr/ ln_traqsr, xsi1 
     56      NAMELIST/nam_qsr/ ln_traqsr, xsi1 
    5757      !!---------------------------------------------------------------------- 
    5858 
    59       ! Read Namelist namqsr : ratio and length of penetration 
     59      ! Read Namelist nam_qsr : ratio and length of penetration 
    6060      ! -------------------- 
    6161      REWIND ( numnam ) 
    62       READ   ( numnam, namqsr ) 
     62      READ   ( numnam, nam_qsr ) 
    6363 
    6464      ! Parameter control and print 
     
    6969         WRITE(numout,*) 'tra_qsr_init : penetration of the surface solar radiation' 
    7070         WRITE(numout,*) '~~~~~~~~~~~~' 
    71          WRITE(numout,*) '    Namelist namqsr : set the parameter of penetration' 
     71         WRITE(numout,*) '    Namelist nam_qsr : set the parameter of penetration' 
    7272         WRITE(numout,*) '        first depth of extinction        xsi1        = ',xsi1 
    7373         WRITE(numout,*) ' ' 
     
    8181      ENDIF 
    8282 
    83       IF( xsi1 < 0.e0 ) THEN 
    84          IF(lwp) WRITE(numout,cform_err) 
    85          IF(lwp) WRITE(numout,*) '             0<xsi1 not satisfied' 
    86          nstop = nstop + 1 
    87       ENDIF 
     83      IF( xsi1 < 0.e0  ) & 
     84         CALL ctl_stop( '              0<xsi1 not satisfied' ) 
    8885 
    8986 
Note: See TracChangeset for help on using the changeset viewer.