PRISM
 v0.0.0
Loading...
Searching...
No Matches
Constants.h
1#pragma once
2#include <string>
3#include <vector>
4
5namespace prism
6{
9const std::string BIB_KEY = "bibliography";
10const std::string PATH_KEY = "data-path";
11const std::string RATE_BASED = "rate-based";
12const std::string XSEC_BASED = "xsec-based";
13const std::string LATEX_OVERRIDES = "latex-overrides";
14const std::string CUSTOM_SPECIES = "custom-species";
15const std::string LUMPED_SPECIES = "lumped-species";
18const std::vector<std::string> allowed_network_inputs = {
19 BIB_KEY, PATH_KEY, RATE_BASED, XSEC_BASED, LATEX_OVERRIDES, CUSTOM_SPECIES, LUMPED_SPECIES};
21const std::string NAME_KEY = "name";
22const std::string MASS_KEY = "mass";
24const std::vector<std::string> allowed_custom_params = {NAME_KEY, MASS_KEY};
26const std::string LUMPED_KEY = "lumped";
27const std::string ACTUAL_KEY = "actual";
28const std::vector<std::string> allowed_lumped_params = {LUMPED_KEY, ACTUAL_KEY};
30const std::string SPECIES_KEY = "species";
31const std::string LATEX_KEY = "latex";
32const std::vector<std::string> allowed_latex_override_params = {SPECIES_KEY, LATEX_KEY};
34const std::string REACTION_KEY = "reaction";
35const std::string DELTA_EPS_E_KEY = "delta-eps-e";
36const std::string DELTA_EPS_G_KEY = "delta-eps-g";
37const std::string ELASTIC_KEY = "elastic";
38const std::string NOTE_KEY = "notes";
39const std::string REFERENCE_KEY = "references";
40const std::string FILE_KEY = "file";
41const std::string PARAM_KEY = "params";
42const unsigned int NUM_REQUIRED_ARR_PARAMS = 5;
43const std::vector<std::string> allowed_reaction_params = {REACTION_KEY,
44 DELTA_EPS_E_KEY,
45 DELTA_EPS_G_KEY,
46 ELASTIC_KEY,
47 NOTE_KEY,
48 REFERENCE_KEY,
49 FILE_KEY,
50 PARAM_KEY};
51
52// const std::string ARRHENIUS = "arrhenius";
53// const std::string TABULATED = "tabulated";
54
55const double MASS_EPS = 1e-5;
56const bool REQUIRED = true;
57const bool OPTIONAL = false;
59const double N_A = 6.02214179E+23;
61const double k_B = 8.6173303E-5;
63const double ELEMENTAL_CHARGE = 1.602176487E-19;
65const double ROOM_TEMP_EV = 0.025;
66typedef unsigned int ReactionId;
67typedef unsigned int SpeciesId;
68}