Cantera  2.3.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/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...
 
void importPhase (XML_Node &phase, ThermoPhase *th)
 Import a phase information into an empty ThermoPhase object. More...
 
void installElements (Phase &th, const XML_Node &phaseNode)
 Add the elements given in an XML_Node tree to the specified phase. 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.