From 3ade3335de105506d83f8550a1ca9525bdcbce01 Mon Sep 17 00:00:00 2001 From: bangshiuh Date: Sat, 4 Aug 2018 17:45:48 -0400 Subject: [PATCH] [1D] Deprecate class FreeFlame and class AxiStagnFlow --- include/cantera/oneD/StFlow.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/cantera/oneD/StFlow.h b/include/cantera/oneD/StFlow.h index 691557fb0..7b1d6534d 100644 --- a/include/cantera/oneD/StFlow.h +++ b/include/cantera/oneD/StFlow.h @@ -469,6 +469,8 @@ public: StFlow(ph, nsp, points) { m_dovisc = true; m_type = cAxisymmetricStagnationFlow; + warn_deprecated("Class AxiStagnFlow is deprecated", + "Use StFlow with setAxisymmetricFlow() instead. To be removed after Cantera 2.4."); } }; @@ -483,6 +485,8 @@ public: StFlow(ph, nsp, points) { m_dovisc = false; m_type = cFreeFlow; + warn_deprecated("Class FreeFlame is deprecated", + "Use StFlow with setFreeFlow() instead. To be removed after Cantera 2.4."); } };