Cantera
2.0
|
Class LiquidTransportData holds transport parameters for a specific liquid-phase species. More...
#include <LiquidTransportData.h>
Public Member Functions | |
LiquidTransportData () | |
Default constructor. | |
LiquidTransportData (const LiquidTransportData &right) | |
Copy constructor. | |
LiquidTransportData & | operator= (const LiquidTransportData &right) |
Assignment operator. | |
~LiquidTransportData () | |
Destructor. | |
Public Attributes | |
std::string | speciesName |
A LiquidTransportData object is instantiated for each species. | |
LTPspecies * | hydroRadius |
Model type for the hydroradius. | |
LTPspecies * | viscosity |
Model type for the viscosity. | |
LTPspecies * | ionConductivity |
Model type for the ionic conductivity. | |
std::vector< LTPspecies * > | mobilityRatio |
Model type for the mobility ratio. | |
std::vector< LTPspecies * > | selfDiffusion |
Model type for the self diffusion coefficients. | |
LTPspecies * | thermalCond |
Model type for the thermal conductivity. | |
LTPspecies * | electCond |
Model type for the electrical conductivity. | |
LTPspecies * | speciesDiffusivity |
Model type for the speciesDiffusivity. | |
Class LiquidTransportData holds transport parameters for a specific liquid-phase species.
A LiquidTransportData object is created for each species.
This class is mainly used to collect transport properties from the parse phase in the TransportFactory and transfer them to the Transport class. Transport properties are expressed by subclasses of LTPspecies. One may need to be careful about deleting pointers to LTPspecies objects created in the TransportFactory.
All of the pointers in this class are shallow pointers. Therefore, this is a passthrough class, which keeps track of pointer ownership by zeroing pointers as we go. Yes, Yes, yes, this is not good.
Definition at line 38 of file LiquidTransportData.h.
Default constructor.
Definition at line 16 of file LiquidTransportData.cpp.
LiquidTransportData | ( | const LiquidTransportData & | right | ) |
Copy constructor.
Definition at line 31 of file LiquidTransportData.cpp.
~LiquidTransportData | ( | ) |
Destructor.
Definition at line 88 of file LiquidTransportData.cpp.
References LiquidTransportData::electCond, LiquidTransportData::hydroRadius, LiquidTransportData::ionConductivity, LiquidTransportData::mobilityRatio, LiquidTransportData::selfDiffusion, LiquidTransportData::speciesDiffusivity, LiquidTransportData::thermalCond, and LiquidTransportData::viscosity.
LiquidTransportData & operator= | ( | const LiquidTransportData & | right | ) |
Assignment operator.
Definition at line 46 of file LiquidTransportData.cpp.
References LiquidTransportData::electCond, LiquidTransportData::hydroRadius, LiquidTransportData::ionConductivity, LiquidTransportData::mobilityRatio, LiquidTransportData::selfDiffusion, LiquidTransportData::speciesDiffusivity, LiquidTransportData::speciesName, LiquidTransportData::thermalCond, and LiquidTransportData::viscosity.
std::string speciesName |
A LiquidTransportData object is instantiated for each species.
This is the species name for which this object is instantiated.
Definition at line 57 of file LiquidTransportData.h.
Referenced by TransportFactory::getLiquidSpeciesTransportData(), AqueousTransport::getLiquidTransportData(), and LiquidTransportData::operator=().
LTPspecies* hydroRadius |
Model type for the hydroradius.
shallow pointer that should be zero during destructor
Definition at line 63 of file LiquidTransportData.h.
Referenced by TransportFactory::getLiquidSpeciesTransportData(), LiquidTransport::initLiquid(), SimpleTransport::initLiquid(), LiquidTransportData::operator=(), and LiquidTransportData::~LiquidTransportData().
LTPspecies* viscosity |
Model type for the viscosity.
shallow pointer that should be zero during destructor
Definition at line 69 of file LiquidTransportData.h.
Referenced by TransportFactory::getLiquidSpeciesTransportData(), LiquidTransport::initLiquid(), SimpleTransport::initLiquid(), LiquidTransportData::operator=(), and LiquidTransportData::~LiquidTransportData().
LTPspecies* ionConductivity |
Model type for the ionic conductivity.
shallow pointer that should be zero during destructor
Definition at line 75 of file LiquidTransportData.h.
Referenced by TransportFactory::getLiquidSpeciesTransportData(), LiquidTransport::initLiquid(), LiquidTransportData::operator=(), and LiquidTransportData::~LiquidTransportData().
std::vector<LTPspecies*> mobilityRatio |
Model type for the mobility ratio.
shallow pointers that should be zero during destructor
Definition at line 81 of file LiquidTransportData.h.
Referenced by TransportFactory::getLiquidSpeciesTransportData(), LiquidTransport::initLiquid(), LiquidTransportData::operator=(), and LiquidTransportData::~LiquidTransportData().
std::vector<LTPspecies*> selfDiffusion |
Model type for the self diffusion coefficients.
shallow pointers that should be zero during destructor
Definition at line 87 of file LiquidTransportData.h.
Referenced by TransportFactory::getLiquidSpeciesTransportData(), LiquidTransport::initLiquid(), LiquidTransportData::operator=(), and LiquidTransportData::~LiquidTransportData().
LTPspecies* thermalCond |
Model type for the thermal conductivity.
shallow pointer that should be zero during destructor
Definition at line 93 of file LiquidTransportData.h.
Referenced by TransportFactory::getLiquidSpeciesTransportData(), LiquidTransport::initLiquid(), SimpleTransport::initLiquid(), LiquidTransportData::operator=(), and LiquidTransportData::~LiquidTransportData().
LTPspecies* electCond |
Model type for the electrical conductivity.
shallow pointer that should be zero during destructor
Definition at line 99 of file LiquidTransportData.h.
Referenced by TransportFactory::getLiquidSpeciesTransportData(), LiquidTransportData::operator=(), and LiquidTransportData::~LiquidTransportData().
LTPspecies* speciesDiffusivity |
Model type for the speciesDiffusivity.
shallow pointer that should be zero during destructor
Definition at line 105 of file LiquidTransportData.h.
Referenced by TransportFactory::getLiquidSpeciesTransportData(), LiquidTransport::initLiquid(), SimpleTransport::initLiquid(), LiquidTransportData::operator=(), and LiquidTransportData::~LiquidTransportData().