13 #ifndef VPSSSPECIESTHERMO_FACTORY_H
14 #define VPSSSPECIESTHERMO_FACTORY_H
36 const std::string& VPSSMgrModel) :
39 " does not match any known type.") {}
134 std::vector<XML_Node*> & spDataNodeList);
175 VPStandardStateTP* vp_ptr, VPSSMgrFactory* f=0);
194 VPSSMgr*
newVPSSMgr(VPStandardStateTP* vp_ptr,
195 XML_Node* phaseNode_ptr,
196 std::vector<XML_Node*> & spDataNodeList,
197 VPSSMgrFactory* f=0);
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.
Base class for factories.
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.
static mutex_t vpss_species_thermo_mutex
Decl of the static mutex variable that locks the VPSSMgr factory singleton.
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 ...
virtual VPSSMgr_enumType VPSSMgr_StringConversion(const std::string &ssModel) const
String conversion to an enumType.
static VPSSMgrFactory * factory()
Static method to return an instance of this class.
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.