36using std::make_shared;
52const double Pi = 3.14159265358979323846;
55const double Sqrt2 = 1.41421356237309504880;
115const double logGasConstant = std::log(
GasConstant);
144const int TV = 100, HP = 101, SP = 102, PV = 103, TP = 104, UV = 105,
145 ST = 106, SV = 107, UP = 108, VH = 109, TH = 110, SH = 111,
147const int VT = -100, PH = -101, PS = -102, VP = -103, PT = -104,
148 VU = -105, TS = -106, VS = -107, PU = -108, HV = -109,
149 HT = -110, HS = -111, XP = -112, XT = -113;
192const size_t npos =
static_cast<size_t>(-1);
const double Sqrt2
Sqrt(2)
Namespace for the Cantera kernel.
const size_t npos
index returned by functions to indicate "no position"
const double Tiny
Small number to compare differences of mole fractions against.
const double Boltzmann
Boltzmann constant [J/K].
std::vector< std::vector< size_t > > grouplist_t
A grouplist is a vector of groups of species.
const double Faraday
Faraday constant [C/kmol].
const double Undef
Fairly random number to be used to initialize variables against to see if they are subsequently defin...
const double Avogadro
Avogadro's Number [number/kmol].
const double Planck
Planck constant [J-s].
const double logBoltz_Planck
log(k_b/h)
const double permeability_0
Permeability of free space [N/A2].
const double OneAtm
One atmosphere [Pa].
std::map< std::string, double > Composition
Map from string names to doubles.
const double SmallNumber
smallest number to compare to zero.
const double Planck_bar
Reduced Planck constant [m2-kg/s].
const double lightSpeed
Speed of Light in a vacuum [m/s].
std::vector< int > vector_int
Vector of ints.
const double StefanBoltz
Stefan-Boltzmann constant [W/m2/K4].
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
const double epsilon_0
Permittivity of free space [F/m].
const double GasConstant
Universal Gas Constant [J/kmol/K].
const double ElectronCharge
Elementary charge [C].
const double fineStructureConstant
Fine structure constant [].
const double GasConst_cal_mol_K
Universal gas constant in cal/mol/K.
const double OneBar
One bar [Pa].
const double BigNumber
largest number to compare to inf.
std::map< std::string, double > compositionMap
Map connecting a string name with a double.
const double MaxExp
largest x such that exp(x) is valid
const double ElectronMass
Electron Mass [kg].