Changeset 2213
- Timestamp:
- Jan 8, 2020, 12:01:49 PM (5 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r2207 r2213 2814 2814 Manual User Update: Old stuff removed from part4: Running the model 2815 2815 2816 2816 == 08/01/2020 == EM 2817 Bug fix in calchim (only had an impact when computations include the 2818 ionosphere), parameters should not be reset at every call. 2819 2820 -
trunk/LMDZ.MARS/libf/aeronomars/calchim_mod.F90
r2170 r2213 191 191 ! for output: 192 192 193 logical :: output! to issue calls to writediagfi and stats193 logical,save :: output ! to issue calls to writediagfi and stats 194 194 real :: jo3_3d(ngrid,nlayer) ! Photodissociation rate O3->O1D (s-1) 195 195 real :: jh2o_3d(ngrid,nlayer) ! Photodissociation rate H2O->H+OH (s-1) … … 200 200 201 201 !======================================================================= 202 ! initialization of the chemistry (first call only) 203 !======================================================================= 204 205 if (firstcall) then 206 207 !======================================================================= 202 208 ! main dashboard for the chemistry 203 209 !======================================================================= 204 210 205 unichim = .true. ! true : unified chemistry ! false : separate models in lower and upper atmosphere 206 jonline = .true. ! true : on-line calculation of photodissociation rates ! false : lookup table 207 ionchem = .false. ! switch for ionospheric chemistry 208 depos = .false. ! switch for dry deposition 209 output = .false. ! true : triggers writing of specific outputs (photolysis rates, emission rates, etc) 210 211 !======================================================================= 212 ! initialization of the chemistry (first call only) 213 !======================================================================= 214 215 if (firstcall) then 211 unichim = .true. ! true : unified chemistry ! false : separate models in lower and upper atmosphere 212 jonline = .true. ! true : on-line calculation of photodissociation rates ! false : lookup table 213 ionchem = .false. ! switch for ionospheric chemistry 214 depos = .false. ! switch for dry deposition 215 output = .false. ! true : triggers writing of specific outputs (photolysis rates, emission rates, etc) 216 216 217 217 if (photochem) then -
trunk/LMDZ.MARS/libf/aeronomars/jthermcalc.F
r2212 r2213 1377 1377 C escout(nlayer) on pressure grid p(nlayer). 1378 1378 C 1379 real*8 wm(nlayer),wp(nlayer),p(nlayer) 1380 integer nm(nlayer) 1381 real*8 pin(nl) 1382 real*8 limup,limdown 1383 integer nl,nlayer,n1,n,np,nini 1379 real*8,intent(out) :: wm(nlayer),wp(nlayer) ! interpolation weights 1380 integer,intent(out) :: nm(nlayer) ! index of nearest point 1381 real*8,intent(in) :: pin(nl),p(nlayer) 1382 real*8,intent(in) :: limup,limdown 1383 integer,intent(in) :: nl,nlayer 1384 integer :: n1,n,np,nini 1384 1385 nini=1 1385 1386 do n1=1,nlayer … … 1400 1401 endif 1401 1402 enddo 1402 return 1403 1403 1404 end 1404 1405
Note: See TracChangeset
for help on using the changeset viewer.