Cantera  2.0
Public Member Functions | Public Attributes | List of all members
LiquidTransportData Class Reference

Class LiquidTransportData holds transport parameters for a specific liquid-phase species. More...

#include <LiquidTransportData.h>

Collaboration diagram for LiquidTransportData:
[legend]

Public Member Functions

 LiquidTransportData ()
 Default constructor.
 
 LiquidTransportData (const LiquidTransportData &right)
 Copy constructor.
 
LiquidTransportDataoperator= (const LiquidTransportData &right)
 Assignment operator.
 
 ~LiquidTransportData ()
 Destructor.
 

Public Attributes

std::string speciesName
 A LiquidTransportData object is instantiated for each species.
 
LTPspecieshydroRadius
 Model type for the hydroradius.
 
LTPspeciesviscosity
 Model type for the viscosity.
 
LTPspeciesionConductivity
 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.
 
LTPspeciesthermalCond
 Model type for the thermal conductivity.
 
LTPspecieselectCond
 Model type for the electrical conductivity.
 
LTPspeciesspeciesDiffusivity
 Model type for the speciesDiffusivity.
 

Detailed Description

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.

Constructor & Destructor Documentation

Default constructor.

Definition at line 16 of file LiquidTransportData.cpp.

Copy constructor.

Definition at line 31 of file LiquidTransportData.cpp.

Member Function Documentation

LiquidTransportData & operator= ( const LiquidTransportData right)

Member Data Documentation

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().


The documentation for this class was generated from the following files: