Cantera  3.1.0a1
ThermoFactory.cpp File Reference

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

Include dependency graph for ThermoFactory.cpp:

Detailed Description

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

Definition in file ThermoFactory.cpp.

Go to the source code of this file.

Namespaces

 Cantera
 Namespace for the Cantera kernel.
 

Functions

shared_ptr< ThermoPhase > newThermoModel (const string &model)
 Create a new ThermoPhase instance. More...
 
shared_ptr< ThermoPhase > newThermo (const AnyMap &phaseNode, const AnyMap &rootNode=AnyMap())
 Create a new ThermoPhase object and initialize it. More...
 
shared_ptr< ThermoPhase > newThermo (const string &infile, const string &id="")
 Create and Initialize a ThermoPhase object from an input file. More...
 
void addDefaultElements (ThermoPhase &thermo, const vector< string > &element_names)
 
void addElements (ThermoPhase &thermo, const vector< string > &element_names, const AnyValue &elements, bool allow_default)
 
void addSpecies (ThermoPhase &thermo, const AnyValue &names, const AnyValue &species)
 
void setupPhase (ThermoPhase &phase, const AnyMap &phaseNode, const AnyMap &rootNode=AnyMap())
 Initialize a ThermoPhase object. More...