From 021f578ebd4329581cbe688006a69277dc7440f5 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Tue, 22 Jan 2013 20:28:31 +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 78a5860cd..c357a1f1e 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; @@ -565,9 +564,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; } @@ -869,9 +865,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; }