source: palm/trunk/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm/chem_gasphase_mod_Function.f90 @ 2696

Last change on this file since 2696 was 2696, checked in by kanani, 6 years ago

Merge of branch palm4u into trunk

File size: 2.1 KB
Line 
1! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2!
3! The ODE Function of Chemical Model File
4!
5! Generated by KPP-2.2.3 symbolic chemistry Kinetics PreProcessor
6!       (http://www.cs.vt.edu/~asandu/Software/KPP)
7! KPP is distributed under GPL, the general public licence
8!       (http://www.gnu.org/copyleft/gpl.html)
9! (C) 1995-1997, V. Damian & A. Sandu, CGRER, Univ. Iowa
10! (C) 1997-2005, A. Sandu, Michigan Tech, Virginia Tech
11!     With important contributions from:
12!        M. Damian, Villanova University, USA
13!        R. Sander, Max-Planck Institute for Chemistry, Mainz, Germany
14!
15! File                 : chem_gasphase_mod_Function.f90
16! Time                 : Fri Dec  1 18:10:53 2017
17! Working directory    : /data/kanani/branches/palm4u/GASPHASE_PREPROC/tmp_kpp4palm
18! Equation file        : chem_gasphase_mod.kpp
19! Output root filename : chem_gasphase_mod
20!
21! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
22
23
24
25MODULE chem_gasphase_mod_Function
26
27  USE chem_gasphase_mod_Parameters
28  IMPLICIT NONE
29
30! A - Rate for each equation
31  REAL(kind=dp) :: A(NREACT)
32
33CONTAINS
34
35
36! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37!
38! Fun - time derivatives of variables - Agregate form
39!   Arguments :
40!      V         - Concentrations of variable species (local)
41!      F         - Concentrations of fixed species (local)
42!      RCT       - Rate constants (local)
43!      Vdot      - Time derivative of variable species concentrations
44!
45! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
46
47SUBROUTINE Fun ( V, F, RCT, Vdot )
48
49! V - Concentrations of variable species (local)
50  REAL(kind=dp) :: V(NVAR)
51! F - Concentrations of fixed species (local)
52  REAL(kind=dp) :: F(NFIX)
53! RCT - Rate constants (local)
54  REAL(kind=dp) :: RCT(NREACT)
55! Vdot - Time derivative of variable species concentrations
56  REAL(kind=dp) :: Vdot(NVAR)
57
58
59! Computation of equation rates
60
61! Aggregate function
62  Vdot(1) = 0
63  Vdot(2) = 0
64  Vdot(3) = 0
65     
66END SUBROUTINE Fun
67
68! End of Fun function
69! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70
71
72
73END MODULE chem_gasphase_mod_Function
74
Note: See TracBrowser for help on using the repository browser.