Deprecate Kinetics::activationEnergies
This commit is contained in:
parent
a972a7f558
commit
305e4eec54
2 changed files with 3 additions and 0 deletions
|
|
@ -752,6 +752,7 @@ public:
|
|||
* length is the number of reactions
|
||||
*
|
||||
* @param E Ouptut vector of activation energies. Length: m_ii.
|
||||
* @deprecated To be removed in Cantera 2.2.
|
||||
*/
|
||||
virtual void getActivationEnergies(doublereal* E) {
|
||||
err("getActivationEnergies");
|
||||
|
|
|
|||
|
|
@ -497,6 +497,8 @@ void InterfaceKinetics::getRevRateConstants(doublereal* krev, bool doIrreversibl
|
|||
|
||||
void InterfaceKinetics::getActivationEnergies(doublereal* E)
|
||||
{
|
||||
warn_deprecated("Kinetics::getActivationEnergies",
|
||||
"To be removed in Cantera 2.2.");
|
||||
copy(m_E.begin(), m_E.end(), E);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue