10 #ifndef SPECIESTHERMO_FACTORY_H
11 #define SPECIESTHERMO_FACTORY_H
22 class VPStandardStateTP;
41 const std::string& speciesThermoModel) :
43 ": Specified speciesThermoPhase model "
44 + speciesThermoModel +
45 " does not match any known type.") {}
140 const XML_Node* phaseNode_ptr = 0)
const;
165 const XML_Node* phaseNode_ptr)
const;
220 SpeciesThermoFactory* f=0);
237 SpeciesThermoFactory* f=0);
Factory to build instances of classes that manage the standard-state thermodynamic properties of a se...
Virtual base class for the classes that manage the calculation of standard state properties for all t...
static SpeciesThermoFactory * factory()
Static method to return an instance of this class.
Class XML_Node is a tree-based representation of the contents of an XML file.
Virtual base class for the calculation of multiple-species thermodynamic reference-state property man...
Base class for factories.
void installThermoForSpecies(size_t k, const XML_Node &speciesNode, ThermoPhase *th_ptr, SpeciesThermo &spthermo, const XML_Node *phaseNode_ptr=0) const
Install a species thermodynamic property parameterization for the reference state for one species int...
Pure Virtual base class for the species thermo manager classes.
Base class for a phase with thermodynamic properties.
UnknownSpeciesThermoModel(const std::string &proc, const std::string &spName, const std::string &speciesThermoModel)
constructor
SpeciesThermo * newSpeciesThermoMgr(int type, SpeciesThermoFactory *f)
Create a new species thermo manager instance, by specifying the type and (optionally) a pointer to th...
void installVPThermoForSpecies(size_t k, const XML_Node &speciesNode, VPStandardStateTP *vp_ptr, VPSSMgr *vpss_ptr, SpeciesThermo *spthermo_ptr, const XML_Node *phaseNode_ptr) const
Install a species thermodynamic property parameterization for the standard state for one species into...
static SpeciesThermoFactory * s_factory
Pointer to the sole instance of this class, which is static.
Base class for exceptions thrown by Cantera classes.
This is a filter class for ThermoPhase that implements some prepatory steps for efficiently handling ...
SpeciesThermo * newSpeciesThermo(int type) const
Create a new species property manager for the reference state.
SpeciesThermo * newSpeciesThermoManager(std::string &stype) const
Create a new species thermo property manager given a string.
void deleteFactory()
Delete static instance of this class.
Throw a named error for an unknown or missing species thermo model.
static mutex_t species_thermo_mutex
Decl of the static mutex variable that locks the SpeciesThermo factory singleton. ...
SpeciesThermoFactory()
Constructor.
Definitions for the classes that are thrown when Cantera experiences an error condition (also contain...
File contains the FactoryBase class declarations.