| Cantera 3.0.0

Loading...
Searching...
No Matches
Namespaces | Functions
ThermoFactory.cpp File Reference

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

`#include "cantera/thermo/ThermoFactory.h"`
`#include "cantera/thermo/Species.h"`
`#include "cantera/thermo/speciesThermoTypes.h"`
`#include "cantera/thermo/SpeciesThermoFactory.h"`
`#include "cantera/thermo/PDSSFactory.h"`
`#include "cantera/thermo/MultiSpeciesThermo.h"`
`#include "cantera/thermo/IdealGasPhase.h"`
`#include "cantera/thermo/PlasmaPhase.h"`
`#include "cantera/thermo/IdealSolidSolnPhase.h"`
`#include "cantera/thermo/MaskellSolidSolnPhase.h"`
`#include "cantera/thermo/MargulesVPSSTP.h"`
`#include "cantera/thermo/RedlichKisterVPSSTP.h"`
`#include "cantera/thermo/IonsFromNeutralVPSSTP.h"`
`#include "cantera/thermo/PureFluidPhase.h"`
`#include "cantera/thermo/RedlichKwongMFTP.h"`
`#include "cantera/thermo/PengRobinson.h"`
`#include "cantera/thermo/SurfPhase.h"`
`#include "cantera/thermo/CoverageDependentSurfPhase.h"`
`#include "cantera/thermo/EdgePhase.h"`
`#include "cantera/thermo/MetalPhase.h"`
`#include "cantera/thermo/StoichSubstance.h"`
`#include "cantera/thermo/LatticeSolidPhase.h"`
`#include "cantera/thermo/LatticePhase.h"`
`#include "cantera/thermo/HMWSoln.h"`
`#include "cantera/thermo/DebyeHuckel.h"`
`#include "cantera/thermo/IdealMolalSoln.h"`
`#include "cantera/thermo/IdealSolnGasVPSS.h"`
`#include "cantera/thermo/WaterSSTP.h"`
`#include "cantera/thermo/BinarySolutionTabulatedThermo.h"`
`#include "cantera/base/stringUtils.h"`
`#include <boost/algorithm/string.hpp>`
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
ThermoPhase * | newThermoPhase (const string &model)
| Create a new ThermoPhase instance.
shared_ptr< ThermoPhase > | newThermoModel (const string &model)
| Create a new ThermoPhase instance.
shared_ptr< ThermoPhase > | newThermo (const AnyMap &phaseNode, const AnyMap &rootNode=AnyMap())
| Create a new ThermoPhase object and initialize it.
shared_ptr< ThermoPhase > | newThermo (const string &infile, const string &id="")
| Create and Initialize a ThermoPhase object from an input file.
unique_ptr< ThermoPhase > | newPhase (const AnyMap &phaseNode, const AnyMap &rootNode=AnyMap())
| Create a new ThermoPhase object and initialize it.
ThermoPhase * | newPhase (const string &infile, 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.