Update version info for release v4.6.1 (#2122)
[WRF.git] / chem / KPP / util / wkc / kpp_data.h
blob90a7b72d990529ccfefa291b983af5e6f03280cf
1 #ifndef KDATA_H
2 #include "registry.h"
6 typedef struct knode_struct {
8 char name[NAMELEN] ;
9 struct knode_struct * members ;
10 struct knode_struct * next ;
13 char wrf_name[NAMELEN] ;
15 struct knode_struct * assoc_wrf_pack ;
17 char assoc_wrf_name[NAMELEN] ;
19 /* flag whether a matching varname was found */
20 int found_match ;
22 /* flag whether variable is declared as radical species */
23 int is_radical ;
25 /* flag if M (third body conc) is found in .spc file */
26 int got_air ;
28 /* flag if N2 is found in .spc file */
29 int got_n2 ;
31 /* flag if O2 is found in .spc file */
32 int got_o2 ;
34 /* flag if CO2 is found in .spc file */
35 int got_co2 ;
37 } knode_t ;
39 #ifndef DEFINE_GLOBALS
40 # define EXTERN extern
41 #else
42 # define EXTERN
43 #endif
47 /* store chemistry packages (mechanisms) from WRF in linked list rooted at WRFC_packs
48 - species variables will be stored as members of each package */
49 EXTERN knode_t * WRFC_packs ;
53 /* store chemistry packages (mechanisms) from KPP */
54 EXTERN knode_t * KPP_packs ;
57 /* non-transported radicals are not part of the packages */
58 EXTERN knode_t * WRFC_radicals ;
61 /* photolysis rates from Registry */
62 EXTERN knode_t * WRFC_jvals ;
71 #define KDATA_H
72 #endif