19 class Solution :
public std::enable_shared_from_this<Solution>
30 static shared_ptr<Solution>
create() {
31 return shared_ptr<Solution>(
new Solution );
35 std::string
name()
const;
82 shared_ptr<Solution>
newSolution(
const std::string& infile,
83 const std::string& name=
"",
84 const std::string& transport=
"",
85 const std::vector<shared_ptr<Solution>>& adjacent={});
A container class holding managers for all pieces defining a phase.
shared_ptr< ThermoPhase > thermo()
Accessor for the ThermoPhase pointer.
std::string name() const
Return the name of this Solution object.
shared_ptr< Kinetics > kinetics()
Accessor for the Kinetics pointer.
shared_ptr< Transport > transport()
Accessor for the Transport pointer.
shared_ptr< Kinetics > m_kinetics
Kinetics manager.
void setThermo(shared_ptr< ThermoPhase > thermo)
Set the ThermoPhase object.
shared_ptr< ThermoPhase > m_thermo
ThermoPhase manager.
void setName(const std::string &name)
Set the name of this Solution object.
void setTransport(shared_ptr< Transport > transport)
Set the Transport object.
static shared_ptr< Solution > create()
Create an empty Solution object.
shared_ptr< Transport > m_transport
Transport manager.
void setKinetics(shared_ptr< Kinetics > kinetics)
Set the Kinetics object.
Definitions for the classes that are thrown when Cantera experiences an error condition (also contain...
Namespace for the Cantera kernel.
shared_ptr< Solution > newSolution(const std::string &infile, const std::string &name, const std::string &transport, const std::vector< shared_ptr< Solution >> &adjacent)
Create and initialize a new Solution manager from an input file.