Cantera  2.1.2
Namespaces | Functions
SpeciesThermoFactory.cpp File Reference

Definitions for factory to build instances of classes that manage the standard-state thermodynamic properties of a set of species (see Species Reference-State Thermodynamic Properties and class SpeciesThermoFactory);. More...

#include "cantera/thermo/SpeciesThermoFactory.h"
#include "cantera/thermo/SpeciesThermo.h"
#include "NasaThermo.h"
#include "ShomateThermo.h"
#include "cantera/thermo/SimpleThermo.h"
#include "cantera/thermo/GeneralSpeciesThermo.h"
#include "cantera/thermo/Mu0Poly.h"
#include "Nasa9PolyMultiTempRegion.h"
#include "cantera/thermo/Nasa9Poly1.h"
#include "cantera/thermo/StatMech.h"
#include "cantera/thermo/AdsorbateThermo.h"
#include "cantera/thermo/SpeciesThermoMgr.h"
#include "cantera/thermo/speciesThermoTypes.h"
#include "cantera/thermo/VPSSMgr.h"
#include "cantera/thermo/VPStandardStateTP.h"
#include "cantera/base/xml.h"
#include "cantera/base/ctml.h"
Include dependency graph for SpeciesThermoFactory.cpp:

Go to the source code of this file.

Namespaces

 Cantera
 Namespace for the Cantera kernel.
 

Functions

static void getSpeciesThermoTypes (std::vector< XML_Node * > &spDataNodeList, int &has_nasa, int &has_shomate, int &has_simple, int &has_other)
 Examine the types of species thermo parameterizations, and return a flag indicating the type of reference state thermo manager that will be needed in order to evaluate them all. More...
 
static void installNasaThermoFromXML (const std::string &speciesName, SpeciesThermo &sp, size_t k, const XML_Node *f0ptr, const XML_Node *f1ptr)
 Install a NASA polynomial thermodynamic property parameterization for species k into a SpeciesThermo instance. More...
 
static doublereal LookupGe (const std::string &elemName, ThermoPhase *th_ptr)
 Look up the elemental reference state entropies. More...
 
static doublereal convertDGFormation (size_t k, ThermoPhase *th_ptr)
 Convert delta G formulation. More...
 
static void installMinEQ3asShomateThermoFromXML (const std::string &speciesName, ThermoPhase *th_ptr, SpeciesThermo &sp, size_t k, const XML_Node *MinEQ3node)
 Install a NASA96 polynomial thermodynamic property parameterization for species k into a SpeciesThermo instance. More...
 
static void installShomateThermoFromXML (const std::string &speciesName, SpeciesThermo &sp, size_t k, const XML_Node *f0ptr, const XML_Node *f1ptr)
 Install a Shomate polynomial thermodynamic property parameterization for species k into a SpeciesThermo instance. More...
 
static void installSimpleThermoFromXML (const std::string &speciesName, SpeciesThermo &sp, size_t k, const XML_Node &f)
 Install a Simple thermodynamic property parameterization for species k into a SpeciesThermo instance. More...
 
static void installNasa9ThermoFromXML (const std::string &speciesName, SpeciesThermo &sp, size_t k, const std::vector< XML_Node * > &tp)
 Install a NASA9 polynomial thermodynamic property parameterization for species k into a SpeciesThermo instance. More...
 
static void installStatMechThermoFromXML (const std::string &speciesName, SpeciesThermo &sp, int k, const std::vector< XML_Node * > &tp)
 Install a stat mech based property solver for species k into a SpeciesThermo instance. More...
 
static void installAdsorbateThermoFromXML (const std::string &speciesName, SpeciesThermo &sp, size_t k, const XML_Node &f)
 Install a Adsorbate polynomial thermodynamic property parameterization for species k into a SpeciesThermo instance. More...
 
SpeciesThermo * newSpeciesThermoMgr (int type, SpeciesThermoFactory *f=0)
 Create a new species thermo manager instance, by specifying the type and (optionally) a pointer to the factory to use to create it. More...
 
SpeciesThermo * newSpeciesThermoMgr (std::string &stype, SpeciesThermoFactory *f=0)
 Create a new species thermo manager instance, by specifying the type and (optionally) a pointer to the factory to use to create it. More...
 
SpeciesThermo * newSpeciesThermoMgr (std::vector< XML_Node * > spDataNodeList, SpeciesThermoFactory *f=0)
 Function to return SpeciesThermo manager. More...
 

Detailed Description

Definitions for factory to build instances of classes that manage the standard-state thermodynamic properties of a set of species (see Species Reference-State Thermodynamic Properties and class SpeciesThermoFactory);.

Definition in file SpeciesThermoFactory.cpp.