11 #ifndef VPSSSPECIESTHERMO_FACTORY_H 12 #define VPSSSPECIESTHERMO_FACTORY_H 34 const std::string& VPSSMgrModel) :
37 " does not match any known type.") {}
121 std::vector<XML_Node*> & spDataNodeList);
182 std::vector<XML_Node*> & spDataNodeList,
static VPSSMgrFactory * s_factory
pointer to the sole instance of this class
Virtual base class for the classes that manage the calculation of standard state properties for all t...
Declaration file for a virtual base class that manages the calculation of standard state properties f...
Class XML_Node is a tree-based representation of the contents of an XML file.
void deleteFactory()
Delete static instance of this class.
static std::mutex vpss_species_thermo_mutex
Decl of the static mutex variable that locks the VPSSMgr factory singleton.
VPSSMgr_enumType
enum for VPSSMgr types that are responsible for calculating the species standard state and reference-...
UnknownVPSSMgrModel(const std::string &proc, const std::string &VPSSMgrModel)
Constructor.
Throw a named error for an unknown or missing vpss species thermo model.
VPSSMgr * newVPSSMgr(VPSSMgr_enumType type, VPStandardStateTP *vp_ptr, Cantera::VPSSMgrFactory *f)
Create a new species thermo manager instance, by specifying the type and (optionally) a pointer to th...
Factory to build instances of classes that manage the standard-state thermodynamic properties of a se...
Base class for exceptions thrown by Cantera classes.
This is a filter class for ThermoPhase that implements some prepatory steps for efficiently handling ...
Factory class that supports registering functions to create objects.
static VPSSMgrFactory * factory()
Static method to return an instance of this class.
Namespace for the Cantera kernel.
virtual VPSSMgr * newVPSSMgr(VPSSMgr_enumType type, VPStandardStateTP *vp_ptr)
Create a new species variable pressure standard state calculator.
Definitions for the classes that are thrown when Cantera experiences an error condition (also contain...
File contains the FactoryBase class declarations.
VPSSMgrFactory()
Constructor.
virtual VPSSMgr_enumType VPSSMgr_StringConversion(const std::string &ssModel) const
String conversion to an enumType.