Changeset 995 for trunk/LMDZ.GENERIC/libf
- Timestamp:
- Jun 21, 2013, 1:07:34 AM (12 years ago)
- Location:
- trunk/LMDZ.GENERIC/libf/phystd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/calc_rayleigh.F90
r869 r995 77 77 print*,'Helium not ready yet!' 78 78 tauconsti(igas) = 0.0 79 call abort79 !call abort 80 80 else 81 81 print*,'Error in calc_rayleigh: Gas species not recognised!' -
trunk/LMDZ.GENERIC/libf/phystd/gfluxi.F
r961 r995 101 101 LAMDA(L) = ALPHA(L)*(1.0D0-W0(L)*COSBAR(L))/UBARI 102 102 103 ! Tsurf is used for 1st layer source function 104 ! -- same results for most thin atmospheres 105 ! -- and stabilizes integrations 103 106 NT = int(TLEV(2*L+1)*NTfac) - NTstar+1 107 108 !! For deep, opaque, thick first layers (e.g. Saturn) 109 !! what is below works much better, not unstable, ... 110 !! ... and actually fully accurate because 1st layer temp (JL) 111 !NT = int(TLEV(2*L)*NTfac) - NTstar+1 112 !! (or this one yields same results 113 !NT = int( (TLEV(2*L)+TLEV(2*L+1))*0.5*NTfac ) - NTstar+1 114 104 115 NT2 = int(TLEV(2*L)*NTfac) - NTstar+1 105 116 B1(L) = (PLANCKIR(NW,NT)-PLANCKIR(NW,NT2))/DTAU(L)
Note: See TracChangeset
for help on using the changeset viewer.