20 KineticsFactory* KineticsFactory::s_factory = 0;
21 mutex_t KineticsFactory::kinetics_mutex;
24 vector<ThermoPhase*> th)
31 string kintype = phaseData.
child(
"kinetics")[
"model"];
43 Kinetics* KineticsFactory::newKinetics(
const string& model)
46 if (lcmodel ==
"none") {
48 }
else if (lcmodel ==
"gaskinetics") {
50 }
else if (lcmodel ==
"interface") {
52 }
else if (lcmodel ==
"edge") {
54 }
else if (lcmodel ==
"aqueouskinetics") {
57 throw UnknownKineticsModel(
"KineticsFactory::newKinetics", model);
Kinetics manager for elementary aqueous-phase chemistry.
Class XML_Node is a tree-based representation of the contents of an XML file.
std::string lowercase(const std::string &s)
Cast a copy of a string to lower case.
Kinetics manager for elementary gas-phase chemistry.
XML_Node & child(const size_t n) const
Return a changeable reference to the n'th child of the current node.
bool importKinetics(const XML_Node &phase, std::vector< ThermoPhase * > th, Kinetics *k)
Import a reaction mechanism for a phase or an interface.
A kinetics manager for heterogeneous reaction mechanisms.
Classes providing support for XML data files.
Public interface for kinetics managers.
Definitions of global routines for the importing of data from XML files (see Input File Handling)...
Heterogeneous reactions at one-dimensional interfaces between multiple adjacent two-dimensional surfa...