Cantera  2.4.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 #include "TransportData.h"
15 
16 namespace Cantera
17 {
18 
19 //! Class LiquidTransportData holds transport parameters for a
20 //! specific liquid-phase species.
21 /*!
22  * @deprecated To be removed after Cantera 2.4
23  *
24  * A LiquidTransportData object is created for each species.
25  *
26  * This class is mainly used to collect transport properties from the parse
27  * phase in the TransportFactory and transfer them to the Transport class.
28  * Transport properties are expressed by subclasses of LTPspecies. One may
29  * need to be careful about deleting pointers to LTPspecies objects created in
30  * the TransportFactory.
31  *
32  * All of the pointers in this class are shallow pointers. Therefore, this
33  * is a passthrough class, which keeps track of pointer ownership by zeroing
34  * pointers as we go. Yes, Yes, yes, this is not good.
35  */
37 {
38 public:
41  LiquidTransportData& operator=(const LiquidTransportData& right);
43 
44  //! A LiquidTransportData object is instantiated for each species.
45  //! This is the species name for which this object is instantiated.
46  std::string speciesName;
47 
48  //! Model type for the hydroradius
50 
51  //! Model type for the viscosity
53 
54  //! Model type for the ionic conductivity
56 
57  //! Model type for the mobility ratio
58  std::vector<LTPspecies*> mobilityRatio;
59 
60  //! Model type for the self diffusion coefficients
61  std::vector<LTPspecies*> selfDiffusion;
62 
63  //! Model type for the thermal conductivity
65 
66  //! Model type for the electrical conductivity
68 
69  //! Model type for the speciesDiffusivity
71 };
72 
73 }
74 #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.
Base class for transport data for a single species.
Definition: TransportData.h:18
Class LTPspecies holds transport parameterizations for a specific liquid- phase species.
Definition: LTPspecies.h:78
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: AnyMap.cpp:8
LTPspecies * ionConductivity
Model type for the ionic conductivity.