36 using std::shared_ptr;
37 using std::make_shared;
51 const doublereal
Pi = 3.14159265358979323846;
66 const doublereal logGasConstant = std::log(
GasConstant);
70 const doublereal OneBar = 1.0E5;
79 const doublereal
Planck = 6.62607009e-34;
80 const doublereal Planck_bar =
Planck / (2 *
Pi);
90 const doublereal ElectronCharge = 1.602176565e-19;
91 const doublereal ElectronMass = 9.10938291e-31;
92 const doublereal Faraday = ElectronCharge *
Avogadro;
117 const int TV = 100, HP = 101, SP = 102, PV = 103, TP = 104, UV = 105,
118 ST = 106, SV = 107, UP = 108, VH = 109, TH = 110, SH = 111,
120 const int VT = -100, PH = -101, PS = -102, VP = -103, PT = -104,
121 VU = -105, TS = -106, VS = -107, PU = -108, HV = -109,
122 HT = -110, HS = -111, XP = -112, XT = -113;
143 const doublereal
Tiny = 1.e-20;
165 const size_t npos =
static_cast<size_t>(-1);
std::map< std::string, doublereal > compositionMap
Map connecting a string name with a double.
const doublereal StefanBoltz
Stefan-Boltzmann constant.
const doublereal OneAtm
One atmosphere [Pa].
const size_t npos
index returned by functions to indicate "no position"
const doublereal Undef
Fairly random number to be used to initialize variables against to see if they are subsequently defin...
std::vector< int > vector_int
Vector of ints.
const doublereal BigNumber
largest number to compare to inf.
std::map< std::string, doublereal > Composition
Map from string names to doubles.
const doublereal logBoltz_Planck
log(k/h)
const doublereal Planck
Planck's constant. [J-s].
const doublereal MaxExp
largest x such that exp(x) is valid
const doublereal Avogadro
Avogadro's Number [number/kmol].
const doublereal SmallNumber
smallest number to compare to zero.
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
const doublereal Tiny
Small number to compare differences of mole fractions against.
const doublereal permeability_0
Permeability of free space in N/A^2.
const doublereal GasConstant
Universal Gas Constant. [J/kmol/K].
const doublereal GasConst_cal_mol_K
Universal gas constant in cal/mol/K.
const doublereal epsilon_0
Permittivity of free space in F/m.
const doublereal lightSpeed
Speed of Light (m/s).
std::vector< std::vector< size_t > > grouplist_t
A grouplist is a vector of groups of species.
Namespace for the Cantera kernel.
const doublereal Boltzmann
Boltzmann's constant [J/K].