From f45b2b1ddcb71fb1804c6e5c80af23f73aac3ded Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Wed, 29 Aug 2012 22:13:59 +0000 Subject: [PATCH] Removed unused variable 'm_efctr' from StFlow --- include/cantera/oneD/StFlow.h | 1 - src/oneD/StFlow.cpp | 9 +-------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/include/cantera/oneD/StFlow.h b/include/cantera/oneD/StFlow.h index b3ae82dc7..c65957cca 100644 --- a/include/cantera/oneD/StFlow.h +++ b/include/cantera/oneD/StFlow.h @@ -492,7 +492,6 @@ protected: vector_fp m_zfix; vector_fp m_tfix; - doublereal m_efctr; bool m_dovisc; void updateTransport(doublereal* x, size_t j0, size_t j1); diff --git a/src/oneD/StFlow.cpp b/src/oneD/StFlow.cpp index d6609cd71..85fa1ae0c 100644 --- a/src/oneD/StFlow.cpp +++ b/src/oneD/StFlow.cpp @@ -102,8 +102,7 @@ StFlow::StFlow(IdealGasPhase* ph, size_t nsp, size_t points) : m_jac(0), m_ok(false), m_do_soret(false), - m_transport_option(-1), - m_efctr(0.0) + m_transport_option(-1) { m_type = cFlowType; @@ -571,9 +570,6 @@ void AxiStagnFlow::eval(size_t jg, doublereal* xg, - divHeatFlux(x,j) - sum - sum2; rsd[index(c_offset_T, j)] /= (m_rho[j]*m_cp[j]); - rsd[index(c_offset_T, j)] = - rsd[index(c_offset_T, j)] + m_efctr*(T_fixed(j) - T(x,j)); - rsd[index(c_offset_T, j)] -= rdt*(T(x,j) - T_prev(j)); diag[index(c_offset_T, j)] = 1; } @@ -885,9 +881,6 @@ void FreeFlame::eval(size_t jg, doublereal* xg, - divHeatFlux(x,j) - sum - sum2; rsd[index(c_offset_T, j)] /= (m_rho[j]*m_cp[j]); - rsd[index(c_offset_T, j)] = - rsd[index(c_offset_T, j)] + m_efctr*(T_fixed(j) - T(x,j)); - rsd[index(c_offset_T, j)] -= rdt*(T(x,j) - T_prev(j)); diag[index(c_offset_T, j)] = 1; }