[2696] | 1 | !------------------------------------------------------------------------------! |
---|
| 2 | ! |
---|
| 3 | ! ****** Module chem_gasphase_mod is automatically generated by kpp4palm ****** |
---|
| 4 | ! |
---|
[3298] | 5 | ! ********* Please do NOT change this Code, it will be ovewritten ********* |
---|
[2696] | 6 | ! |
---|
| 7 | !------------------------------------------------------------------------------! |
---|
[3298] | 8 | ! This file was created by KPP (http://people.cs.vt.edu/asandu/Software/Kpp/) |
---|
| 9 | ! and kpp4palm (created by Klaus Ketelsen). kpp4palm is an adapted version |
---|
| 10 | ! of KP4 (Jöckel, P., Kerkweg, A., Pozzer, A., Sander, R., Tost, H., Riede, |
---|
| 11 | ! H., Baumgaertner, A., Gromov, S., and Kern, B., 2010: Development cycle 2 of |
---|
| 12 | ! the Modular Earth Submodel System (MESSy2), Geosci. Model Dev., 3, 717-752, |
---|
| 13 | ! https://doi.org/10.5194/gmd-3-717-2010). KP4 is part of the Modular Earth |
---|
| 14 | ! Submodel System (MESSy), which is is available under the GNU General Public |
---|
| 15 | ! License (GPL). |
---|
| 16 | ! |
---|
| 17 | ! KPP is free software; you can redistribute it and/or modify it under the terms |
---|
| 18 | ! of the General Public Licence as published by the Free Software Foundation; |
---|
| 19 | ! either version 2 of the License, or (at your option) any later version. |
---|
| 20 | ! KPP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
---|
| 21 | ! without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
---|
| 22 | ! PURPOSE. See the GNU General Public Licence for more details. |
---|
| 23 | ! |
---|
| 24 | !------------------------------------------------------------------------------! |
---|
[2718] | 25 | ! This file is part of the PALM model system. |
---|
[2696] | 26 | ! |
---|
| 27 | ! PALM is free software: you can redistribute it and/or modify it under the |
---|
| 28 | ! terms of the GNU General Public License as published by the Free Software |
---|
| 29 | ! Foundation, either version 3 of the License, or (at your option) any later |
---|
| 30 | ! version. |
---|
| 31 | ! |
---|
| 32 | ! PALM is distributed in the hope that it will be useful, but WITHOUT ANY |
---|
| 33 | ! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR |
---|
| 34 | ! A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
---|
| 35 | ! |
---|
| 36 | ! You should have received a copy of the GNU General Public License along with |
---|
| 37 | ! PALM. If not, see <http://www.gnu.org/licenses/>. |
---|
| 38 | ! |
---|
[3681] | 39 | ! Copyright 1997-2019 Leibniz Universitaet Hannover |
---|
[2696] | 40 | !--------------------------------------------------------------------------------! |
---|
| 41 | ! |
---|
| 42 | ! |
---|
[3458] | 43 | ! MODULE HEADER TEMPLATE |
---|
[2696] | 44 | ! |
---|
[3458] | 45 | ! Initial version (Nov. 2016, ketelsen), for later modifications of module_header |
---|
| 46 | ! see comments in kpp4palm/src/create_kpp_module.C |
---|
[2696] | 47 | |
---|
| 48 | ! Set kpp Double Precision to PALM Default Precision |
---|
| 49 | |
---|
| 50 | USE kinds, ONLY: dp=>wp |
---|
| 51 | |
---|
| 52 | USE pegrid, ONLY: myid, threads_per_task |
---|
| 53 | |
---|
| 54 | IMPLICIT NONE |
---|
| 55 | PRIVATE |
---|
| 56 | !SAVE ! NOTE: OCCURS AGAIN IN AUTOMATICALLY GENERATED CODE ... |
---|
| 57 | |
---|
| 58 | ! PUBLIC :: IERR_NAMES |
---|
| 59 | |
---|
| 60 | ! PUBLIC :: SPC_NAMES, EQN_NAMES, EQN_TAGS, REQ_HET, REQ_AEROSOL, REQ_PHOTRAT & |
---|
| 61 | ! , REQ_MCFCT, IP_MAX, jname |
---|
| 62 | |
---|
| 63 | PUBLIC :: eqn_names, phot_names, spc_names |
---|
| 64 | PUBLIC :: nmaxfixsteps |
---|
| 65 | PUBLIC :: atol, rtol |
---|
| 66 | PUBLIC :: nspec, nreact |
---|
| 67 | PUBLIC :: temp |
---|
[3298] | 68 | PUBLIC :: qvap |
---|
| 69 | PUBLIC :: fakt |
---|
[2696] | 70 | PUBLIC :: phot |
---|
| 71 | PUBLIC :: rconst |
---|
| 72 | PUBLIC :: nvar |
---|
| 73 | PUBLIC :: nphot |
---|
[3298] | 74 | PUBLIC :: vl_dim ! Public to ebable other modules to distiguish between scalar and vec |
---|
[2696] | 75 | |
---|
[3298] | 76 | PUBLIC :: Initialize, Integrate, Update_rconst |
---|
[2696] | 77 | PUBLIC :: chem_gasphase_integrate |
---|
| 78 | PUBLIC :: initialize_kpp_ctrl |
---|
| 79 | |
---|
| 80 | ! END OF MODULE HEADER TEMPLATE |
---|