Cantera 2.6.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

namespace  Cantera
 Namespace for the Cantera kernel.
 

Functions

ThermoPhase * newThermoPhase (const std::string &model)
 Create a new thermodynamic property manager. More...
 
shared_ptr< ThermoPhase > newThermo (const std::string &model)
 Create a new ThermoPhase instance. More...
 
ThermoPhase * newPhase (XML_Node &phase)
 Create a new ThermoPhase object and initializes it according to the XML tree. More...
 
unique_ptr< ThermoPhase > newPhase (const AnyMap &phaseNode, const AnyMap &rootNode=AnyMap())
 Create a new ThermoPhase object and initialize it. More...
 
ThermoPhase * newPhase (const std::string &infile, std::string id="")
 Create and Initialize a ThermoPhase object from an input file. More...
 
void importPhase (XML_Node &phase, ThermoPhase *th)
 Import a phase information into an empty ThermoPhase object. More...
 
void setupPhase (ThermoPhase &phase, const AnyMap &phaseNode, const AnyMap &rootNode=AnyMap())
 Initialize a 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.