From a2a507d779acdd32bf20005ea9cccfd502d8fc6b Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Thu, 24 Dec 2009 17:11:51 +0000 Subject: [PATCH] Reverted commit #316# , which added a pointer to a transport object. We are trying to keep the major sections of cantera separate from each other to impose a coarse grained modularity on the code. And, adding a pointer here leads to their linkages at a lower level. Linkages at a higher level are encouraged, however This is the same reason why there isn't a kinetics pointer here as well. --- Cantera/src/thermo/Phase.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Cantera/src/thermo/Phase.h b/Cantera/src/thermo/Phase.h index 7395d9933..60c5ec06a 100644 --- a/Cantera/src/thermo/Phase.h +++ b/Cantera/src/thermo/Phase.h @@ -26,7 +26,6 @@ using namespace ctml; namespace Cantera { - class Transport; //forward declaration /** * @defgroup phases Models of Phases of Matter @@ -222,9 +221,6 @@ namespace Cantera { */ void setName(std::string nm); - //! Attach a Transport object pointer to this Phase - void setTransport( Transport* tr ) { m_trans = tr; } - //! Returns the index of the phase /*! * The index is used in the Python and matlab interfaces to @@ -438,9 +434,6 @@ namespace Cantera { */ void getMoleFractionsByName(compositionMap& x) const; - //! Get a Transport object pointer attached to this Phase - Transport* getTransport( ) { return m_trans; } - //! Return the mole fraction of a single species /*! * @param k String name of the species @@ -522,13 +515,6 @@ namespace Cantera { */ int m_index; - /** - * A Transport object pointer attached to this Phase - */ - Transport *m_trans; - - - private: //! This stores the initial state of the system