Cantera  2.0
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/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 <cmath>
Include dependency graph for SpeciesThermoFactory.cpp:

Go to the source code of this file.

Namespaces

namespace  Cantera
 Provides class Nucleus.
 

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.
 
static void installNasaThermoFromXML (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.
 
static doublereal LookupGe (const std::string &elemName, ThermoPhase *th_ptr)
 Look up the elemental reference state entropies.
 
static doublereal convertDGFormation (size_t k, ThermoPhase *th_ptr)
 Convert delta G formulation.
 
static void installMinEQ3asShomateThermoFromXML (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.
 
static void installShomateThermoFromXML (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.
 
static void installSimpleThermoFromXML (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.
 
static void installNasa9ThermoFromXML (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.
 
static void installAdsorbateThermoFromXML (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.
 
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.
 
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.
 
SpeciesThermo * newSpeciesThermoMgr (std::vector< XML_Node * > spDataNodeList, SpeciesThermoFactory *f=0, bool opt=false)
 Function to return SpeciesThermo manager.
 

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.