Changeset 1684 for trunk/LMDZ.MARS/libf/aeronomars
- Timestamp:
- Mar 31, 2017, 5:03:31 PM (8 years ago)
- Location:
- trunk/LMDZ.MARS/libf/aeronomars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/aeronomars/chemthermos.F90
r1266 r1684 466 466 467 467 !Photoabsorption coefficients 468 call flujo(solarcondate) 469 if(solvarmod.eq.0) then 470 call jthermcalc(ig,nlayer,chemthermod,rm,nesptherm,ztemp,zlocal,zenit) 471 else if(solvarmod.eq.1) then 472 call jthermcalc_e107(ig,nlayer,chemthermod,rm,nesptherm,ztemp,zlocal,zenit,zday) 473 endif 468 call jthermcalc_e107(ig,nlayer,chemthermod,rm,nesptherm,ztemp,zlocal,zenit,zday) 474 469 475 470 -
trunk/LMDZ.MARS/libf/aeronomars/euvheat.F90
r1266 r1684 359 359 enddo 360 360 361 !Solar flux calculation362 call flujo(solarcondate)363 364 ! Not recommended for long runs365 ! (e.g. to build the MCD), as the366 ! solar conditions at the end will367 ! be different to the ones initially368 ! set369 361 370 362 do ig=1,ngrid -
trunk/LMDZ.MARS/libf/aeronomars/hrtherm.F
r1266 r1684 98 98 99 99 !Calculation of photoabsortion coefficient 100 if(solvarmod.eq.0) then 101 call jthermcalc(ig,nlayer,euvmod,rm,nespeuv,tx,iz,zenit) 102 else if (solvarmod.eq.1) then 103 call jthermcalc_e107(ig,nlayer,euvmod, 100 call jthermcalc_e107(ig,nlayer,euvmod, 104 101 . rm,nespeuv,tx,iz,zenit,zday) 105 endif106 102 107 103 !Total photoabsorption coefficient … … 118 114 end do 119 115 120 121 return122 123 116 end 124 117 -
trunk/LMDZ.MARS/libf/aeronomars/jthermcalc_e107.F
r1266 r1684 20 20 21 21 implicit none 22 23 include "callkeys.h" 22 24 23 25 c input and output variables … … 136 138 end do 137 139 138 !E10.7 for the day: linear interpolation to tabulated values 139 realday=mod(zday,669.) 140 if(realday.lt.date_e107(1)) then 140 if (solvarmod==0) then 141 e107=fixed_euv_value 142 else 143 !E10.7 for the day: linear interpolation to tabulated values 144 realday=mod(zday,669.) 145 if(realday.lt.date_e107(1)) then 141 146 e107=e107_tab(1) 142 else if(realday.ge.date_e107(669)) then147 else if(realday.ge.date_e107(669)) then 143 148 e107=e107_tab(669) 144 else if(realday.ge.date_e107(1).and.149 else if(realday.ge.date_e107(1).and. 145 150 $ realday.lt.date_e107(669)) then 146 151 do i=1,668 … … 153 158 endif 154 159 enddo 155 endif 160 endif 161 endif ! of if (solvarmod==0) 156 162 157 163 !Photoabsorption coefficients at TOA as a function of E10.7
Note: See TracChangeset
for help on using the changeset viewer.