Changeset 600 for trunk/LMDZ.GENERIC/libf/phystd/sfluxi.F
- Timestamp:
- Mar 27, 2012, 5:02:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/sfluxi.F
r543 r600 5 5 6 6 use radinc_h 7 use radcommon_h, only: planckir, tlimit 7 use radcommon_h, only: planckir, tlimit,sigma 8 8 9 9 implicit none … … 33 33 34 34 real*8 fup_tmp(L_NSPECTI),fdn_tmp(L_NSPECTI) 35 real*8 PLANCKSUM,PLANCKREF 35 36 36 37 … … 72 73 ! NTT = TTOP *10.0D0-499 73 74 75 !JL12 corrects the surface planck function so that its integral is equal to sigma Tsurf^4 76 !JL12 this ensure that no flux is lost due to: 77 !JL12 -truncation of the planck function at high/low wavenumber 78 !JL12 -numerical error during first spectral integration 79 !JL12 -discrepancy between Tsurf and NTS/NTfac 80 PLANCKSUM=0.d0 81 PLANCKREF=TSURF*TSURF 82 PLANCKREF=sigma*PLANCKREF*PLANCKREF 83 DO NW=1,L_NSPECTI 84 PLANCKSUM=PLANCKSUM+PLANCKIR(NW,NTS)*DWNI(NW) 85 ENDDO 86 PLANCKSUM=PLANCKREF/(PLANCKSUM*Pi) 87 !JL12 88 74 89 DO 501 NW=1,L_NSPECTI 75 90 76 91 C SURFACE EMISSIONS - INDEPENDENT OF GAUSS POINTS 77 BSURF = (1.-RSFI)*PLANCKIR(NW,NTS) ! interpolate for accuracy??92 BSURF = (1.-RSFI)*PLANCKIR(NW,NTS)*PLANCKSUM !JL12 plancksum see above 78 93 PLTOP = PLANCKIR(NW,NTT) 79 94
Note: See TracChangeset
for help on using the changeset viewer.