diff --git a/Cantera/src/zeroD/Reactor.h b/Cantera/src/zeroD/Reactor.h index 9d5edd79b..d117805e5 100644 --- a/Cantera/src/zeroD/Reactor.h +++ b/Cantera/src/zeroD/Reactor.h @@ -197,16 +197,16 @@ namespace Cantera { //----------------------------------------------------- // overloaded methods of class FuncEval - virtual int neq() { return m_nsp + 2; } + virtual int neq() { return m_nv; } virtual void eval(doublereal t, doublereal* y, doublereal* ydot); virtual void getInitialConditions(doublereal t0, size_t leny, doublereal* y); - virtual void initialize(doublereal t0 = 0.0); - - //----------------------------------------------------- + virtual void initialize(doublereal t0 = 0.0); + + /** * @name Methods to specify simulation options. * These virtual methods may be overloaded in @@ -284,10 +284,12 @@ namespace Cantera { doublereal m_kv, m_p0; vector_fp m_atol; doublereal m_rtol; + vector_fp m_work; vector_fp m_sdot; // surface production rates bool m_trad_set; bool m_chem; bool m_energy; + int m_nv; private: };