Changeset 2150 for trunk/LMDZ.MARS/libf/aeronomars
- Timestamp:
- Sep 5, 2019, 2:50:33 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/aeronomars/photochemistry.F90
r2044 r2150 352 352 real (kind = 8), parameter :: dtmin = 10. ! minimum time step (s) 353 353 real (kind = 8), parameter :: vmrtol = 1.e-11 ! absolute tolerance on vmr 354 real (kind = 8), parameter :: rtol = 1./0.05 ! 1/rtol recommended value : 0.1-0.02354 real (kind = 8), parameter :: rtol = 0.05 ! rtol recommended value : 0.1-0.02 355 355 integer, parameter :: niter = 3 ! number of iterations 356 356 real (kind = 8), parameter :: coefmax = 2. … … 406 406 do iesp = 1,nesp 407 407 es = 2.*abs((ratio*cnew(iesp) - (1. + ratio)*ccur(iesp) + cold(iesp)) & 408 /(1. + ratio)/max(ccur(iesp) ,atol))408 /(1. + ratio)/max(ccur(iesp)*rtol,atol)) 409 409 410 410 if (es > e) then … … 412 412 end if 413 413 end do 414 e = rtol*e415 414 416 415 ! timestep correction … … 700 699 !--- c008: ho2 + ho2 -> h2o2 + o2 701 700 702 ! jpl 20 06703 704 ! c008(:) = 3. 5e-13*exp(430./t(:))701 ! jpl 2015 702 703 ! c008(:) = 3.0e-13*exp(460./t(:)) 705 704 706 705 ! christensen et al., grl, 13, 2002
Note: See TracChangeset
for help on using the changeset viewer.