Revision: 3422
Author:
yar...@gmail.com
Date: Tue Mar 10 22:41:29 2015 UTC
Log: [Kinetics] Deprecate class ExchangeCurrent
Unused duplicate of class Arrhenius
https://code.google.com/p/cantera/source/detail?r=3422
Modified:
/cantera/trunk/include/cantera/kinetics/RxnRates.h
/cantera/trunk/src/kinetics/RxnRates.cpp
=======================================
--- /cantera/trunk/include/cantera/kinetics/RxnRates.h Sat Nov 15 00:47:09
2014 UTC
+++ /cantera/trunk/include/cantera/kinetics/RxnRates.h Tue Mar 10 22:41:29
2015 UTC
@@ -220,6 +220,7 @@
* k_f = A T^b \exp (-E/RT)
* \f]
*
+ * @deprecated Duplicate of class Arrhenius. To be removed after Cantera
2.2.
*/
class ExchangeCurrent
{
=======================================
--- /cantera/trunk/src/kinetics/RxnRates.cpp Sat Nov 15 00:47:09 2014 UTC
+++ /cantera/trunk/src/kinetics/RxnRates.cpp Tue Mar 10 22:41:29 2015 UTC
@@ -107,6 +107,8 @@
, m_E(0.0)
, m_A(0.0)
{
+ warn_deprecated("class ExchangeCurrent", "Duplicate of class
Arrhenius."
+ " To be removed after Cantera 2.2.");
}
ExchangeCurrent::ExchangeCurrent(const ReactionData& rdata)
@@ -114,6 +116,8 @@
, m_E(rdata.rateCoeffParameters[2])
, m_A(rdata.rateCoeffParameters[0])
{
+ warn_deprecated("class ExchangeCurrent", "Duplicate of class
Arrhenius."
+ " To be removed after Cantera 2.2.");
if (m_A <= 0.0) {
m_logA = -1.0E300;
} else {
@@ -126,6 +130,8 @@
, m_E(E)
, m_A(A)
{
+ warn_deprecated("class ExchangeCurrent", "Duplicate of class
Arrhenius."
+ " To be removed after Cantera 2.2.");
if (m_A <= 0.0) {
m_logA = -1.0E300;
} else {