Cantera  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LiquidTransportData.h
Go to the documentation of this file.
1 /**
2  * @file LiquidTransportData.h
3  * Header file defining class LiquidTransportData
4  */
5 #ifndef CT_LIQUIDTRANSPORTDATA_H
6 #define CT_LIQUIDTRANSPORTDATA_H
7 
8 #include "TransportBase.h"
9 #include "LTPspecies.h"
10 
11 namespace Cantera
12 {
13 
14 //! Class LiquidTransportData holds transport parameters for a
15 //! specific liquid-phase species.
16 /*!
17  * A LiquidTransportData object is created for each species.
18  *
19  * This class is mainly used to collect transport properties from the parse
20  * phase in the TransportFactory and transfer them to the Transport class.
21  * Transport properties are expressed by subclasses of LTPspecies. One may
22  * need to be careful about deleting pointers to LTPspecies objects created in
23  * the TransportFactory.
24  *
25  * All of the pointers in this class are shallow pointers. Therefore, this
26  * is a passthrough class, which keeps track of pointer ownership by zeroing
27  * pointers as we go. Yes, Yes, yes, this is not good.
28  */
30 {
31 public:
34  LiquidTransportData& operator=(const LiquidTransportData& right);
36 
37  //! A LiquidTransportData object is instantiated for each species.
38  //! This is the species name for which this object is instantiated.
39  std::string speciesName;
40 
41  //! Model type for the hydroradius
42  /*!
43  * shallow pointer that should be zero during destructor
44  */
46 
47  //! Model type for the viscosity
48  /*!
49  * shallow pointer that should be zero during destructor
50  */
52 
53  //! Model type for the ionic conductivity
54  /*!
55  * shallow pointer that should be zero during destructor
56  */
58 
59  //! Model type for the mobility ratio
60  /*!
61  * shallow pointers that should be zero during destructor
62  */
63  std::vector<LTPspecies*> mobilityRatio;
64 
65  //! Model type for the self diffusion coefficients
66  /*!
67  * shallow pointers that should be zero during destructor
68  */
69  std::vector<LTPspecies*> selfDiffusion;
70 
71  //! Model type for the thermal conductivity
72  /*!
73  * shallow pointer that should be zero during destructor
74  */
76 
77  //! Model type for the electrical conductivity
78  /*!
79  * shallow pointer that should be zero during destructor
80  */
82 
83  //! Model type for the speciesDiffusivity
84  /*!
85  * shallow pointer that should be zero during destructor
86  */
88 };
89 
90 }
91 #endif
LTPspecies * thermalCond
Model type for the thermal conductivity.
Headers for the Transport object, which is the virtual base class for all transport property evaluato...
Header file defining class LTPspecies and its child classes.
Class LiquidTransportData holds transport parameters for a specific liquid-phase species.
LTPspecies * speciesDiffusivity
Model type for the speciesDiffusivity.
Class LTPspecies holds transport parameterizations for a specific liquid-phase species.
Definition: LTPspecies.h:72
LTPspecies * electCond
Model type for the electrical conductivity.
std::string speciesName
A LiquidTransportData object is instantiated for each species.
std::vector< LTPspecies * > mobilityRatio
Model type for the mobility ratio.
LTPspecies * hydroRadius
Model type for the hydroradius.
std::vector< LTPspecies * > selfDiffusion
Model type for the self diffusion coefficients.
LTPspecies * viscosity
Model type for the viscosity.
LTPspecies * ionConductivity
Model type for the ionic conductivity.