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.
This commit is contained in:
parent
b0a7626dcc
commit
a2a507d779
1 changed files with 0 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue