Cantera  2.0
Classes | Namespaces | Functions
ThermoFactory.h File Reference

Headers for the factory class that can create known ThermoPhase objects (see Thermodynamic Properties and class ThermoFactory). More...

#include "ThermoPhase.h"
#include "cantera/base/xml.h"
#include "cantera/base/ct_thread.h"
#include "cantera/base/FactoryBase.h"
Include dependency graph for ThermoFactory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UnknownThermoPhaseModel
 Specific error to be thrown if the type of Thermo manager is unrecognized. More...
 
class  ThermoFactory
 Factory class for thermodynamic property managers. More...
 

Namespaces

namespace  Cantera
 Provides class Nucleus.
 

Functions

ThermoPhase * newThermoPhase (std::string model, ThermoFactory *f=0)
 Create a new thermo manager instance.
 
std::string eosTypeString (int ieos, int length=100)
 Translate the eosType id into a string.
 
ThermoPhase * newPhase (XML_Node &xmlphase)
 
ThermoPhase * newPhase (std::string infile, std::string id)
 Create and Initialize a ThermoPhase object from an XML input file.
 
bool importPhase (XML_Node &phase, ThermoPhase *th, SpeciesThermoFactory *spfactory=0)
 Import a phase information into an empty thermophase object.
 
bool installSpecies (size_t k, const XML_Node &s, thermo_t &p, SpeciesThermo *spthermo_ptr, int rule, XML_Node *phaseNode_ptr=0, VPSSMgr *vpss_ptr=0, SpeciesThermoFactory *factory=0)
 Install a species into a ThermoPhase object, which defines the phase thermodynamics and speciation.
 
const XML_Node * speciesXML_Node (std::string kname, const XML_Node *phaseSpeciesData)
 Search an XML tree for species data.
 

Detailed Description

Headers for the factory class that can create known ThermoPhase objects (see Thermodynamic Properties and class ThermoFactory).

Definition in file ThermoFactory.h.