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 654 for trunk/NEMO – NEMO

Changeset 654 for trunk/NEMO


Ignore:
Timestamp:
2007-04-18T11:30:57+02:00 (17 years ago)
Author:
opalod
Message:

nemo_v2_update_015:CE:read in namelist flag to use or not the biological fluxes for light

File:
1 edited

Legend:

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

    r498 r654  
    2727   !! * Module variables 
    2828   REAL(wp), PUBLIC ::  & !!! * penetrative solar radiation namelist * 
    29       xsi1 = 0.35_wp     ! first depth of extinction  
     29      xsi1 = 0.35_wp    ! first depth of extinction  
     30   LOGICAL , PUBLIC ::   ln_qsr_sms = .false. ! flag to use or not the biological fluxes for light 
     31 
    3032 
    3133CONTAINS 
     
    3941      !! ** Method  :   The profile of solar radiation within the ocean is set 
    4042      !!      from two length scale of penetration (xsr1,xsr2) and a ratio 
    41       !!      (rabs). These parameters are read in the nam_qsr namelist. The 
     43      !!      (rabs). These parameters are read in the namqsr namelist. The 
    4244      !!      default values correspond to clear water (type I in Jerlov'  
    4345      !!      (1968) classification. 
     
    5456      !! * Local declarations 
    5557 
    56       NAMELIST/nam_qsr/ ln_traqsr, xsi1 
     58      NAMELIST/namqsr/ ln_traqsr, xsi1 
    5759      !!---------------------------------------------------------------------- 
    5860 
    59       ! Read Namelist nam_qsr : ratio and length of penetration 
     61      ! Read Namelist namqsr : ratio and length of penetration 
    6062      ! -------------------- 
    6163      REWIND ( numnam ) 
    62       READ   ( numnam, nam_qsr ) 
     64      READ   ( numnam, namqsr ) 
    6365 
    6466      ! Parameter control and print 
     
    6971         WRITE(numout,*) 'tra_qsr_init : penetration of the surface solar radiation' 
    7072         WRITE(numout,*) '~~~~~~~~~~~~' 
    71          WRITE(numout,*) '    Namelist nam_qsr : set the parameter of penetration' 
     73         WRITE(numout,*) '    Namelist namqsr : set the parameter of penetration' 
    7274         WRITE(numout,*) '        first depth of extinction        xsi1        = ',xsi1 
     75         WRITE(numout,*) '     Biological fluxes for light(Y/N) ln_qsr_sms  = ',ln_qsr_sms 
    7376         WRITE(numout,*) ' ' 
    7477        END IF 
Note: See TracChangeset for help on using the changeset viewer.