source: palm/trunk/UTIL/chemistry/gasphase_preproc/mechanisms/def_salsa+simple/chem_gasphase_mod.kpp @ 4370

Last change on this file since 4370 was 4016, checked in by forkel, 6 years ago

fix in simple mechanisms: qvap connected to mechanism

File size: 1.5 KB
RevLine 
[3944]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)
[3949]7//      removed obsolete INLINE F90_GLOBAL - is now done in kpp4palm.ksh (03.05.2019, forkel)
[3944]8//
9#include      salsa+simple.spc
10#include      salsa+simple.eqn
11#INTEGRATOR   rosenbrock
12#LANGUAGE     Fortran90
13#HESSIAN      on
14#STOICMAT     on
15//
16// *******************************************************************************************
17// *** adapt the lines below occurding to the photolysis reactions of your mechanism         *
18// *** adapt the number of photolysis frequencies NPHO                                       *
19// *** adapt/extend the indices in the INTEGER, PARAMETER,PUBLIC statement below             *
20// *** adapt/extend PHOT_NAMES: Note that the order of PHOT_NAMES and the indices must match *
21// *******************************************************************************************
22//
23#INLINE F90_DATA
24  !   INLINE F90_DATA: Declaration of global variables for photolysis
25  !   REAL(kind=dp) :: phot(nphot) must eventually be moved to GLOBAL later for vector version
26  INTEGER, PARAMETER :: nphot = 2
27  !   phot Photolysis frequencies
28  REAL(kind=dp) :: phot(nphot)
29
30  INTEGER, PARAMETER,PUBLIC :: j_no2 = 1
31  INTEGER, PARAMETER,PUBLIC :: j_o31d = 2
32
33  CHARACTER(LEN=15), PARAMETER, DIMENSION(NPHOT) :: phot_names =  (/ &
34     'J_NO2          ','J_O31D         '/)
35#ENDINLINE
[4016]36
37#INLINE F90_INIT
38  fix(indf_h2o) = qvap
39#ENDINLINE
Note: See TracBrowser for help on using the repository browser.