PRISM
 v0.0.0
Loading...
Searching...
No Matches
PrismConstants.h
1//* This file is a part of PRISM: Plasma Reaction Input SysteM,
2//* A library for parcing chemical reaction networks for plasma chemistry
3//* https://github.com/NCSU-ComPS-Group/prism
4//*
5//* Licensed under MIT, please see LICENSE for details
6//* https://opensource.org/license/mit
7//*
8//* Copyright 2024, North Carolina State University
9//* ALL RIGHTS RESERVED
10//*
11#pragma once
12#include <string>
13#include <vector>
14
15namespace prism
16{
19const std::string BIB_KEY = "bibliography";
20const std::string PATH_KEY = "data-path";
21const std::string RATE_BASED = "rate-based";
22const std::string XSEC_BASED = "xsec-based";
23const std::string LATEX_OVERRIDES = "latex-overrides";
24const std::string CUSTOM_SPECIES = "custom-species";
25const std::string LUMPED_SPECIES = "lumped-species";
26const std::string CONSTANT_SPECIES = "constant-species";
27const std::string DATA_DELIMITER = "data-delimiter";
30const std::vector<std::string> allowed_network_inputs = {BIB_KEY,
31 PATH_KEY,
32 RATE_BASED,
33 XSEC_BASED,
34 LATEX_OVERRIDES,
35 CUSTOM_SPECIES,
36 LUMPED_SPECIES,
37 CONSTANT_SPECIES,
38 DATA_DELIMITER};
40const std::string NAME_KEY = "name";
41const std::string MASS_KEY = "mass";
43const std::vector<std::string> allowed_custom_params = {NAME_KEY, MASS_KEY};
45const std::string LUMPED_KEY = "lumped";
46const std::string ACTUAL_KEY = "actual";
47const std::vector<std::string> allowed_lumped_params = {LUMPED_KEY, ACTUAL_KEY};
49const std::string SPECIES_KEY = "species";
50const std::string LATEX_KEY = "latex";
51const std::vector<std::string> allowed_latex_override_params = {SPECIES_KEY, LATEX_KEY};
53const std::string REACTION_KEY = "reaction";
54const std::string DELTA_EPS_E_KEY = "delta-eps-e";
55const std::string DELTA_EPS_G_KEY = "delta-eps-g";
56const std::string ELASTIC_KEY = "elastic";
57const std::string NOTE_KEY = "notes";
58const std::string REFERENCE_KEY = "references";
59const std::string FILE_KEY = "file";
60const std::string PARAM_KEY = "params";
61const unsigned int NUM_REQUIRED_ARR_PARAMS = 5;
62const std::vector<std::string> allowed_reaction_params = {REACTION_KEY,
63 DELTA_EPS_E_KEY,
64 DELTA_EPS_G_KEY,
65 ELASTIC_KEY,
66 NOTE_KEY,
67 REFERENCE_KEY,
68 FILE_KEY,
69 PARAM_KEY};
70
71const bool REQUIRED = true;
72const bool OPTIONAL = false;
74const double k_B = 8.6173303E-5;
76const double ROOM_TEMP_EV = 0.025;
78const double N_A = 6.02214179E+23;
80const double ELEMENTAL_CHARGE = 1.602176487E-19;
81typedef unsigned int ReactionId;
82typedef unsigned int SpeciesId;
83}