Cantera  2.3.0
LiquidTransportData.h
Go to the documentation of this file.
1 /**
2  * @file LiquidTransportData.h
3  * Header file defining class LiquidTransportData
4  */
5 
6 // This file is part of Cantera. See License.txt in the top-level directory or
7 // at http://www.cantera.org/license.txt for license and copyright information.
8 
9 #ifndef CT_LIQUIDTRANSPORTDATA_H
10 #define CT_LIQUIDTRANSPORTDATA_H
11 
12 #include "TransportBase.h"
13 #include "LTPspecies.h"
14 
15 namespace Cantera
16 {
17 
18 //! Class LiquidTransportData holds transport parameters for a
19 //! specific liquid-phase species.
20 /*!
21  * A LiquidTransportData object is created for each species.
22  *
23  * This class is mainly used to collect transport properties from the parse
24  * phase in the TransportFactory and transfer them to the Transport class.
25  * Transport properties are expressed by subclasses of LTPspecies. One may
26  * need to be careful about deleting pointers to LTPspecies objects created in
27  * the TransportFactory.
28  *
29  * All of the pointers in this class are shallow pointers. Therefore, this
30  * is a passthrough class, which keeps track of pointer ownership by zeroing
31  * pointers as we go. Yes, Yes, yes, this is not good.
32  */
34 {
35 public:
38  LiquidTransportData& operator=(const LiquidTransportData& right);
40 
41  //! A LiquidTransportData object is instantiated for each species.
42  //! This is the species name for which this object is instantiated.
43  std::string speciesName;
44 
45  //! Model type for the hydroradius
47 
48  //! Model type for the viscosity
50 
51  //! Model type for the ionic conductivity
53 
54  //! Model type for the mobility ratio
55  std::vector<LTPspecies*> mobilityRatio;
56 
57  //! Model type for the self diffusion coefficients
58  std::vector<LTPspecies*> selfDiffusion;
59 
60  //! Model type for the thermal conductivity
62 
63  //! Model type for the electrical conductivity
65 
66  //! Model type for the speciesDiffusivity
68 };
69 
70 }
71 #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:76
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.
Namespace for the Cantera kernel.
Definition: application.cpp:29
LTPspecies * ionConductivity
Model type for the ionic conductivity.