From ee7c4ed46353a6ab3880690d960b1ab6a0fa2c29 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Sat, 30 Jul 2016 23:49:38 -0400 Subject: [PATCH] [Kinetics] Remove dead code from InterfaceKinetics --- src/kinetics/InterfaceKinetics.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/kinetics/InterfaceKinetics.cpp b/src/kinetics/InterfaceKinetics.cpp index 13fd1cf42e..716c8ef0ff 100644 --- a/src/kinetics/InterfaceKinetics.cpp +++ b/src/kinetics/InterfaceKinetics.cpp @@ -454,24 +454,6 @@ void InterfaceKinetics::updateROP() // products m_revProductStoich.multiply(m_actConc.data(), m_ropr.data()); - // Fix up these calculations for cases where the above formalism doesn't hold - double OCV = 0.0; - for (size_t jrxn = 0; jrxn != nReactions(); ++jrxn) { - if (reactionType(jrxn) == BUTLERVOLMER_RXN) { - // OK, the reaction rate constant contains the current density rate - // constant calculation the rxnstoich calculation contained the - // dependence of the current density on the activity concentrations - // We finish up with the ROP calculation - // - // Calculate the overpotential of the reaction - double nStoichElectrons=1; - getDeltaGibbs(0); - if (nStoichElectrons != 0.0) { - OCV = m_deltaG[jrxn]/Faraday/ nStoichElectrons; - } - } - } - for (size_t j = 0; j != nReactions(); ++j) { m_ropnet[j] = m_ropf[j] - m_ropr[j]; }