source: palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/src/create_kpp_module.h @ 3298

Last change on this file since 3298 was 3298, checked in by kanani, 3 years ago

Merge chemistry branch at r3297 to trunk

File size: 1.6 KB
Line 
1#ifndef mecca
2// ketelsen 18.09.2018: Removed create_fill_routine
3
4#include <iostream>
5#include <fstream>
6
7#include <string>
8#include <list>
9#include <vector>
10
11#include "fortran_file.h"
12#include "expand_decomp.h"
13
14// Class to create module which contains code generated by kpp.
15
16/ 
17/ 
18// ketelsen 18.09.2018: Removed create_fill_routine
19
20#include <iostream>
21#include <fstream>
22
23#include <string>
24#include <list>
25#include <vector>
26
27#include "fortran_file.h"
28#include "expand_decomp.h"
29
30// Class to create module which contains code generated by kpp.
31
32class create_kpp_module {
33
34  vector <fortran_file>         kpp_files;
35  vector <fortran_file>         kpp_subroutines;
36  vector <fortran_file>         kpp_includes;
37  vector <fortran_file>         e5_subroutines;
38  fortran_file                  mz_kpp;
39  fortran_file                  e5_kpp;
40  fortran_file                  header_variables;
41  string                        prefix;
42  string                        module_name;
43  vector<string>                global_variable_list;
44  vector<string>                species_list;
45  vector<string>                interface_ignore;
46  vector<Vvar>                  Vvar_list;
47
48
49  void create_fortran_files_and_read();
50  void copy_files_to_subroutines();
51  void add_solver_to_subroutine_list();
52  void generate_module_header();
53  void write_module_file();
54
55  void create_kpp_integrate();
56
57public:
58
59  void do_work (string s) ;
60
61  create_kpp_module () {
62    global_variable_list.push_back("C");
63    global_variable_list.push_back("VAR");
64    global_variable_list.push_back("FIX");
65    global_variable_list.push_back("A");
66    global_variable_list.push_back("RCONST");
67  }
68};
69
70#endif
Note: See TracBrowser for help on using the repository browser.