From a6f5638220d51ce80599982c58e2e1a65d71fd69 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Fri, 18 Jul 2003 20:19:03 +0000 Subject: [PATCH] Added comments about m_kk needing to be restated in this class. --- Cantera/src/Phase.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Cantera/src/Phase.h b/Cantera/src/Phase.h index e00ffe941..7b5fb7674 100755 --- a/Cantera/src/Phase.h +++ b/Cantera/src/Phase.h @@ -176,7 +176,14 @@ namespace Cantera { protected: - int m_kk; + /** + * m_kk = Number of species in the phase. + * @internal m_kk is a member of both the State and Constituents classes. + * Therefore, to avoid multiple inheritance problems, we need to + * restate it in here, so that the declarations in the two base classes + * become hidden. + */ + int m_kk; int m_ndim; int m_index;