Cantera  3.1.0a4
Loading...
Searching...
No Matches
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

namespace  Cantera
 Namespace for the Cantera kernel.
 

Functions

shared_ptr< ThermoPhasenewThermoModel (const string &model)
 Create a new ThermoPhase instance.
 
shared_ptr< ThermoPhasenewThermo (const AnyMap &phaseNode, const AnyMap &rootNode=AnyMap())
 Create a new ThermoPhase object and initialize it.
 
shared_ptr< ThermoPhasenewThermo (const string &infile, const string &id="")
 Create and Initialize a ThermoPhase object from an input file.
 
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.