From f733fac1045b86d312ff31dbf0e796a47fcceebb Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Thu, 28 Jul 2016 22:37:26 -0400 Subject: [PATCH] [Kinetics] Deprecate InterfaceKinetics::checkPartialEquil --- include/cantera/kinetics/InterfaceKinetics.h | 1 + src/kinetics/InterfaceKinetics.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/include/cantera/kinetics/InterfaceKinetics.h b/include/cantera/kinetics/InterfaceKinetics.h index fad5c79e6..6b7802c7a 100644 --- a/include/cantera/kinetics/InterfaceKinetics.h +++ b/include/cantera/kinetics/InterfaceKinetics.h @@ -271,6 +271,7 @@ public: void setIOFlag(int ioFlag); + //! @deprecated To be removed after Cantera 2.3. void checkPartialEquil(); //! Update the standard state chemical potentials and species equilibrium diff --git a/src/kinetics/InterfaceKinetics.cpp b/src/kinetics/InterfaceKinetics.cpp index f7daad4f4..13fd1cf42 100644 --- a/src/kinetics/InterfaceKinetics.cpp +++ b/src/kinetics/InterfaceKinetics.cpp @@ -238,6 +238,8 @@ void InterfaceKinetics::updateMu0() void InterfaceKinetics::checkPartialEquil() { + warn_deprecated("InterfaceKinetics::checkPartialEquil", + "To be removed after Cantera 2.3."); // First task is update the electrical potentials from the Phases _update_rates_phi();