IdealGasReactor.h Source File#
IdealGasReactor.h
Go to the documentation of this file.
Class IdealGasReactor is a class for stirred reactors that is specifically optimized for ideal gases.
Definition IdealGasReactor.h:21
void setThermoMgr(ThermoPhase &thermo) override
Specify the mixture contained in the reactor.
Definition IdealGasReactor.cpp:16
void eval(double t, double *LHS, double *RHS) override
Evaluate the reactor governing equations.
Definition IdealGasReactor.cpp:72
string type() const override
String indicating the reactor model implemented.
Definition IdealGasReactor.h:25
size_t componentIndex(const string &nm) const override
Return the index in the solution vector for this reactor of the component named nm.
Definition IdealGasReactor.cpp:138
void getState(double *y) override
Get the the current state of the reactor.
Definition IdealGasReactor.cpp:27
string componentName(size_t k) override
Return the name of the solution component with index i.
Definition IdealGasReactor.cpp:154
void updateState(double *y) override
Set the state of the reactor to correspond to the state vector y.
Definition IdealGasReactor.cpp:59
Class Reactor is a general-purpose class for stirred reactors.
Definition Reactor.h:44
Base class for a phase with thermodynamic properties.
Definition ThermoPhase.h:390
Generated by 1.9.7