ConstPressureReactor.h Source File#
ConstPressureReactor.h
Go to the documentation of this file.
Class ConstPressureReactor is a class for constant-pressure reactors.
Definition ConstPressureReactor.h:24
void eval(double t, double *LHS, double *RHS) override
Evaluate the reactor governing equations.
Definition ConstPressureReactor.cpp:62
string type() const override
String indicating the reactor model implemented.
Definition ConstPressureReactor.h:28
size_t componentIndex(const string &nm) const override
Return the index in the solution vector for this reactor of the component named nm.
Definition ConstPressureReactor.cpp:121
void getState(double *y) override
Get the the current state of the reactor.
Definition ConstPressureReactor.cpp:17
string componentName(size_t k) override
Return the name of the solution component with index i.
Definition ConstPressureReactor.cpp:135
void updateState(double *y) override
Set the state of the reactor to correspond to the state vector y.
Definition ConstPressureReactor.cpp:45
void initialize(double t0=0.0) override
Initialize the reactor.
Definition ConstPressureReactor.cpp:39
Class Reactor is a general-purpose class for stirred reactors.
Definition Reactor.h:44
Generated by 1.9.7