4 #ifndef INCLUDE_CALC_CHEMISTRY_H_
5 #define INCLUDE_CALC_CHEMISTRY_H_
9 #include "../include/ions.h"
10 #include "../include/neutrals.h"
11 #include "../include/times.h"
12 #include "../include/grid.h"
13 #include "../include/report.h"
21 struct reaction_type {
25 std::vector<std::string> sources_names;
26 std::vector<std::string> losses_names;
28 std::vector<int> sources_ids;
29 std::vector<int> sources_IsNeutrals;
31 std::vector<int> losses_ids;
32 std::vector<int> losses_IsNeutrals;
37 std::vector<reaction_type> reactions;
39 struct sources_and_losses_type {
40 precision_t neutral_sources[nSpecies];
41 precision_t neutral_losses[nSpecies];
42 precision_t ion_sources[nIons];
43 precision_t ion_losses[nIons];
44 precision_t heat_neutrals;
45 precision_t heat_ions;
46 precision_t heat_electrons;
49 #endif // INCLUDE_CALC_CHEMISTRY_H_