From b84c1e568514a2a54ea19a15403b47146103b025 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Sat, 23 May 2015 23:38:00 -0400 Subject: [PATCH] Remove unused fields of ElectroChemicalReaction --- include/cantera/kinetics/Reaction.h | 12 ------------ src/kinetics/Reaction.cpp | 6 ------ 2 files changed, 18 deletions(-) diff --git a/include/cantera/kinetics/Reaction.h b/include/cantera/kinetics/Reaction.h index c61266d0a..a0960805b 100644 --- a/include/cantera/kinetics/Reaction.h +++ b/include/cantera/kinetics/Reaction.h @@ -240,18 +240,6 @@ public: */ doublereal film_resistivity; - //! Power of the equilibrium constant within the Affinity representation - /*! - * Only valid for Affinity representation. Default = 1.0. - */ - doublereal equilibrium_constant_power; - - //! Power of the "One minus Affinity" term within the Affinity representation - /*! - * Only valid for Affinity representation. Default = 1.0. - */ - doublereal affinity_power; - //! Forward value of the apparent Electrochemical transfer coefficient doublereal beta; diff --git a/src/kinetics/Reaction.cpp b/src/kinetics/Reaction.cpp index 082d4ab06..51c084f70 100644 --- a/src/kinetics/Reaction.cpp +++ b/src/kinetics/Reaction.cpp @@ -258,8 +258,6 @@ InterfaceReaction::InterfaceReaction(const Composition& reactants_, ElectrochemicalReaction::ElectrochemicalReaction() : film_resistivity(0.0) - , equilibrium_constant_power(1.0) - , affinity_power(1.0) , beta(0.0) , exchange_current_density_formulation(false) { @@ -270,8 +268,6 @@ ElectrochemicalReaction::ElectrochemicalReaction(const Composition& reactants_, const Arrhenius& rate_) : InterfaceReaction(reactants_, products_, rate_) , film_resistivity(0.0) - , equilibrium_constant_power(1.0) - , affinity_power(1.0) , beta(0.0) , exchange_current_density_formulation(false) { @@ -537,8 +533,6 @@ void setupElectrochemicalReaction(ElectrochemicalReaction& R, } getOptionalFloat(rxn_node, "filmResistivity", R.film_resistivity); - getOptionalFloat(rxn_node, "affinityPower", R.affinity_power); - getOptionalFloat(rxn_node, "equilibriumConstantPower", R.equilibrium_constant_power); setupInterfaceReaction(R, rxn_node);