Cantera  2.1.2
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

 Cantera
 Namespace for the Cantera kernel.
 

Functions

ThermoPhase * newThermoPhase (const std::string &model, ThermoFactory *f=0)
 Create a new thermo manager instance. More...
 
std::string eosTypeString (int ieos, int length=100)
 Translate the eosType id into a string. More...
 
ThermoPhase * newPhase (XML_Node &phase)
 Create a new ThermoPhase object and initializes it according to the XML tree. More...
 
ThermoPhase * newPhase (const std::string &infile, std::string id)
 Create and Initialize a ThermoPhase object from an XML input file. More...
 
bool importPhase (XML_Node &phase, ThermoPhase *th, SpeciesThermoFactory *spfactory=0)
 Import a phase information into an empty thermophase object. More...
 
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. More...
 
const XML_Node * speciesXML_Node (const std::string &kname, const XML_Node *phaseSpeciesData)
 Search an XML tree for species data. More...
 

Detailed Description

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

Definition in file ThermoFactory.h.