Changeset 2366 for trunk/LMDZ.TITAN/libf/phytitan/gfluxi.F
- Timestamp:
- Jun 11, 2020, 7:40:22 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/libf/phytitan/gfluxi.F
r2095 r2366 85 85 LAMDA(L) = ALPHA(L)*(1.0D0-W0(L)*COSBAR(L))/UBARI 86 86 87 NT = int(TLEV(2*L)*NTfac) - NTstar +188 NT2 = int(TLEV(2*L+2)*NTfac) - NTstar +187 NT = int(TLEV(2*L)*NTfac) - NTstart+1 88 NT2 = int(TLEV(2*L+2)*NTfac) - NTstart+1 89 89 90 90 ! AB : PLANCKIR(NW,NT) is replaced by P1, the linear interpolation result for a temperature NT … … 112 112 ! -- same results for most thin atmospheres 113 113 ! -- and stabilizes integrations 114 NT = int(TLEV(2*L+1)*NTfac) - NTstar +1114 NT = int(TLEV(2*L+1)*NTfac) - NTstart+1 115 115 !! For deep, opaque, thick first layers (e.g. Saturn) 116 116 !! what is below works much better, not unstable, ... 117 117 !! ... and actually fully accurate because 1st layer temp (JL) 118 !NT = int(TLEV(2*L)*NTfac) - NTstar +1118 !NT = int(TLEV(2*L)*NTfac) - NTstart+1 119 119 !! (or this one yields same results 120 !NT = int( (TLEV(2*L)+TLEV(2*L+1))*0.5*NTfac ) - NTstar +1121 122 NT2 = int(TLEV(2*L)*NTfac) - NTstar +1120 !NT = int( (TLEV(2*L)+TLEV(2*L+1))*0.5*NTfac ) - NTstart+1 121 122 NT2 = int(TLEV(2*L)*NTfac) - NTstart+1 123 123 124 124 ! AB : PLANCKIR(NW,NT) is replaced by P1, the linear interpolation result for a temperature NT
Note: See TracChangeset
for help on using the changeset viewer.