IdealGasConstPressureReactor.h Source File#
IdealGasConstPressureReactor.h
Class ConstPressureReactor is a class for constant-pressure reactors.
Definition ConstPressureReactor.h:24
Class ConstPressureReactor is a class for constant-pressure reactors.
Definition IdealGasConstPressureReactor.h:23
void setThermoMgr(ThermoPhase &thermo) override
Specify the mixture contained in the reactor.
Definition IdealGasConstPressureReactor.cpp:16
void eval(double t, double *LHS, double *RHS) override
Evaluate the reactor governing equations.
Definition IdealGasConstPressureReactor.cpp:68
string type() const override
String indicating the reactor model implemented.
Definition IdealGasConstPressureReactor.h:27
size_t componentIndex(const string &nm) const override
Return the index in the solution vector for this reactor of the component named nm.
Definition IdealGasConstPressureReactor.cpp:133
void getState(double *y) override
Get the the current state of the reactor.
Definition IdealGasConstPressureReactor.cpp:27
string componentName(size_t k) override
Return the name of the solution component with index i.
Definition IdealGasConstPressureReactor.cpp:147
void updateState(double *y) override
Set the state of the reactor to correspond to the state vector y.
Definition IdealGasConstPressureReactor.cpp:55
void initialize(double t0=0.0) override
Initialize the reactor.
Definition IdealGasConstPressureReactor.cpp:49
Base class for a phase with thermodynamic properties.
Definition ThermoPhase.h:390
Generated by