From cca47296cf01a982831495afef47b67b1153763e Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Fri, 21 Nov 2008 20:05:58 +0000 Subject: [PATCH] Added comments about ThermoPhase ownership --- Cantera/src/kinetics/Kinetics.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Cantera/src/kinetics/Kinetics.h b/Cantera/src/kinetics/Kinetics.h index dc5a4d07e..e849984f4 100755 --- a/Cantera/src/kinetics/Kinetics.h +++ b/Cantera/src/kinetics/Kinetics.h @@ -899,9 +899,10 @@ namespace Cantera { */ std::vector m_products; - /** - * m_thermo is a vector of pointers to ThermoPhase - * objects. For homogeneous kinetics applications, this vector + //! m_thermo is a vector of pointers to ThermoPhase + //! objects. + /*! + * For homogeneous kinetics applications, this vector * will only have one entry. For interfacial reactions, this * vector will consist of multiple entries; some of them will * be surface phases, and the other ones will be bulk phases. @@ -909,6 +910,10 @@ namespace Cantera { * in which the species comprising each phase are listed in * the source term vector, originating from the reaction * mechanism. + * + * Note that this kinetics object doesn't own these ThermoPhase + * objects and is not responsible for creating or deleting + * them. */ std::vector m_thermo;