1 | //chem_gasphase_mod.kpp |
---|
2 | // |
---|
3 | //Former revisions |
---|
4 | //---------------- |
---|
5 | // $Id: chem_gasphase_mod.kpp 2459 2017-09-13 14:10:33Z forkel $ |
---|
6 | // initial revision from branch salsa rev 3576 (29.11.2018, monakurppa) |
---|
7 | // |
---|
8 | #include phstat.spc |
---|
9 | #include phstat.eqn |
---|
10 | #INTEGRATOR rosenbrock |
---|
11 | #LANGUAGE Fortran90 |
---|
12 | #HESSIAN on |
---|
13 | #STOICMAT on |
---|
14 | #INLINE F90_GLOBAL |
---|
15 | ! QVAP - Water vapor |
---|
16 | ! REAL(dp),dimension(:),allocatable :: qvap |
---|
17 | REAL(dp) :: qvap |
---|
18 | ! FAKT - Conversion factor |
---|
19 | ! REAL(dp),dimension(:),allocatable :: fakt |
---|
20 | REAL(dp) :: fakt |
---|
21 | |
---|
22 | ! Declaration of global variable declarations for photolysis will come from INLINE F90_DATA |
---|
23 | #ENDINLINE |
---|
24 | // |
---|
25 | // ******************************************************************************************* |
---|
26 | // *** adapt the lines below occurding to the photolysis reactions of your mechanism * |
---|
27 | // *** adapt the number of photolysis frequencies NPHO * |
---|
28 | // *** adapt/extend the indices in the INTEGER, PARAMETER,PUBLIC statement below * |
---|
29 | // *** adapt/extend PHOT_NAMES: Note that the order of PHOT_NAMES and the indices must match * |
---|
30 | // ******************************************************************************************* |
---|
31 | // |
---|
32 | #INLINE F90_DATA |
---|
33 | ! INLINE F90_DATA: Declaration of global variables for photolysis |
---|
34 | ! REAL(kind=dp) :: phot(nphot) must eventually be moved to GLOBAL later for vector version |
---|
35 | INTEGER, PARAMETER :: nphot = 1 |
---|
36 | ! phot Photolysis frequencies |
---|
37 | REAL(kind=dp) :: phot(nphot) |
---|
38 | |
---|
39 | INTEGER, PARAMETER,PUBLIC :: j_no2 = 1 |
---|
40 | |
---|
41 | CHARACTER(LEN=15), PARAMETER, DIMENSION(NPHOT) :: phot_names = (/ & |
---|
42 | 'J_NO2 '/) |
---|
43 | #ENDINLINE |
---|