38using std::make_shared;
40using std::make_unique;
68const double Pi = 3.14159265358979323846;
71const double Sqrt2 = 1.41421356237309504880;
122const double logGasConstant = std::log(
GasConstant);
149const int TV = 100, HP = 101, SP = 102, PV = 103, TP = 104, UV = 105,
150 ST = 106, SV = 107, UP = 108, VH = 109, TH = 110, SH = 111,
152const int VT = -100, PH = -101, PS = -102, VP = -103, PT = -104,
153 VU = -105, TS = -106, VS = -107, PU = -108, HV = -109,
154 HT = -110, HS = -111, XP = -112, XT = -113;
180typedef map<string, double>
compositionMap [[deprecated(
"replaceable by Composition")]];
189typedef vector<double>
vector_fp [[deprecated(
"replaceable by vector<double>")]];
192typedef vector<int>
vector_int [[deprecated(
"replaceable by vector<int>")]];
195const size_t npos =
static_cast<size_t>(-1);
const double Boltzmann
Boltzmann constant [J/K].
const double Faraday
Faraday constant [C/kmol].
const double Avogadro
Avogadro's Number [number/kmol].
const double Planck
Planck constant [J-s].
const double permeability_0
Permeability of free space [N/A2].
const double OneAtm
One atmosphere [Pa].
const double lightSpeed
Speed of Light in a vacuum [m/s].
const double StefanBoltz
Stefan-Boltzmann constant [W/m2/K4].
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 ElectronMass
Electron Mass [kg].
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 Undef
Fairly random number to be used to initialize variables against to see if they are subsequently defin...
vector< int > vector_int
Vector of ints.
const double SmallNumber
smallest number to compare to zero.
vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
map< string, double > compositionMap
Map connecting a string name with a double.
const double BigNumber
largest number to compare to inf.
map< string, double > Composition
Map from string names to doubles.