Changeset 1445 for trunk/NEMO/OFF_SRC
- Timestamp:
- 2009-05-13T16:35:02+02:00 (15 years ago)
- Location:
- trunk/NEMO/OFF_SRC
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OFF_SRC/TRA/traqsr.F90
r1152 r1445 23 23 24 24 !! * Shared module variables 25 LOGICAL, PUBLIC :: ln_traqsr = .TRUE. !: qsr flag (Default=T) 26 27 !! * Module variables 28 REAL(wp), PUBLIC :: & !!! * penetrative solar radiation namelist * 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 25 LOGICAL , PUBLIC :: ln_traqsr = .TRUE. !: light absorption (qsr) flag 26 LOGICAL , PUBLIC :: ln_qsr_bio = .FALSE. !: bio-optical retroaction 27 REAL(wp), PUBLIC :: rn_abs = 0.58_wp !: fraction absorbed in the very near surface (RGB & 2 bands) 28 REAL(wp), PUBLIC :: rn_si0 = 0.35_wp !: very near surface depth of extinction (RGB & 2 bands) 29 REAL(wp), PUBLIC :: rn_si2 = 61.8_wp !: deepest depth of extinction (blue & 0.01 mg.m-3) (RGB) 31 30 32 31 … … 55 54 !!---------------------------------------------------------------------- 56 55 !! * Local declarations 57 58 NAMELIST/namqsr/ ln_traqsr, xsi1 56 NAMELIST/namqsr/ ln_qsr_bio, rn_abs, rn_si0, rn_si2 59 57 !!---------------------------------------------------------------------- 60 58 … … 64 62 READ ( numnam, namqsr ) 65 63 64 ln_qsr_bio = .FALSE. ! Offline mode : No retroaction on dynamics 66 65 ! Parameter control and print 67 66 ! --------------------------- 68 IF( ln_traqsr ) THEN 69 IF ( lwp ) THEN 67 IF(lwp) THEN ! control print 70 68 WRITE(numout,*) 71 69 WRITE(numout,*) 'tra_qsr_init : penetration of the surface solar radiation' 72 70 WRITE(numout,*) '~~~~~~~~~~~~' 73 71 WRITE(numout,*) ' Namelist namqsr : set the parameter of penetration' 74 WRITE(numout,*) ' first depth of extinction xsi1 = ',xsi1 75 WRITE(numout,*) ' Biological fluxes for light(Y/N) ln_qsr_sms = ',ln_qsr_sms 76 WRITE(numout,*) ' ' 77 END IF 78 ELSE 79 IF ( lwp ) THEN 80 WRITE(numout,*) 81 WRITE(numout,*) 'tra_qsr_init : NO solar flux penetration' 82 WRITE(numout,*) '~~~~~~~~~~~~' 83 END IF 72 WRITE(numout,*) ' bio-model light penetration ln_qsr_bio = ', ln_qsr_bio 73 WRITE(numout,*) ' RGB & 2 bands: fraction of light (rn_si1) rn_abs = ', rn_abs 74 WRITE(numout,*) ' RGB & 2 bands: shortess depth of extinction rn_si0 = ', rn_si0 75 WRITE(numout,*) ' 3 bands: longest depth of extinction rn_si2 = ', rn_si2 84 76 ENDIF 85 86 IF( xsi1 < 0.e0 ) & 87 CALL ctl_stop( ' 0<xsi1 not satisfied' ) 88 77 89 78 90 79 END SUBROUTINE tra_qsr_init
Note: See TracChangeset
for help on using the changeset viewer.