From 23ad04f882ca72af24b2f14de0df93b8c283896e Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Thu, 9 Apr 2015 18:54:05 -0400 Subject: [PATCH] [Transport] Deprecate non-functional AqueousTransport class This class has been broken since 2009. Note the vectors m_visccoeffs, m_condcoeffs, and m_diffcoeffs, which are used but never initialized. --- include/cantera/transport/AqueousTransport.h | 1 + src/transport/AqueousTransport.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/include/cantera/transport/AqueousTransport.h b/include/cantera/transport/AqueousTransport.h index feb6d2ad0..e8654e437 100644 --- a/include/cantera/transport/AqueousTransport.h +++ b/include/cantera/transport/AqueousTransport.h @@ -97,6 +97,7 @@ namespace Cantera * In the second part, a mixing rule is applied, based on the * Wilkes correlation, to yield the mixture viscosity. * @ingroup tranprops + * @deprecated Non-functional. To be removed after Cantera 2.2. */ class AqueousTransport : public Transport { diff --git a/src/transport/AqueousTransport.cpp b/src/transport/AqueousTransport.cpp index 753a817c1..7ff2b2d59 100644 --- a/src/transport/AqueousTransport.cpp +++ b/src/transport/AqueousTransport.cpp @@ -36,6 +36,8 @@ AqueousTransport::AqueousTransport() : m_debug(false), m_nDim(1) { + warn_deprecated("class AqueousTransport", + "Non-functional. To be removed after Cantera 2.2."); } bool AqueousTransport::initLiquid(LiquidTransportParams& tr)