Cantera  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SolidTransportData.h
Go to the documentation of this file.
1 /**
2  * @file SolidTransportData.h
3  * Header file defining class SolidTransportData
4  */
5 
6 #ifndef CT_SOLIDTRANSPORTDATA_H
7 #define CT_SOLIDTRANSPORTDATA_H
8 
11 
12 namespace Cantera
13 {
14 
15 //! Class SolidTransportData holds transport parameters for a
16 //! specific solid-phase species.
17 /*!
18  * A SolidTransportData object is created for a solid phase
19  * (not for each species as happens for the analogous LiquidTransportData).
20  *
21  * This class is mainly used to collect transport properties from the parse
22  * phase in the TranportFactory and transfer them to the Transport class.
23  * Transport properties are expressed by subclasses of LTPspecies. Note that
24  * we use the liquid phase species model for the solid phases. That is, for
25  * the time being at least, we ignore mixing models for solid phases and just
26  * specify a transport property at the level that we specify the transport
27  * property for a species in the liquid phase. One may need to be careful
28  * about deleting pointers to LTPspecies objects created in the
29  * TransportFactory.
30  *
31  * All of the pointers in this class are shallow pointers. Therefore, this is
32  * a passthrough class, which keeps track of pointer ownership by zeroing
33  * pointers as we go. Yes, Yes, yes, this is not good.
34  */
36 {
37 public:
40  SolidTransportData& operator=(const SolidTransportData& right);
42 
43  //! A SolidTransportData object is instantiated for each species.
44  //! This is the species name for which this object is instantiated.
45  std::string speciesName;
46 
47  //! Model type for the ionic conductivity
48  /*!
49  * shallow pointer that should be zero during destructor
50  */
52 
53  //! Model type for the thermal conductivity
54  /*!
55  * shallow pointer that should be zero during destructor
56  */
58 
59  //! Model type for the electrical conductivity
60  /*!
61  * shallow pointer that should be zero during destructor
62  */
64 
65  //! Model type for the defectDiffusivity -- or more like a defect diffusivity in the context of the solid phase.
66  /*!
67  * shallow pointer that should be zero during destructor
68  */
70 
71  //! Model type for the defectActivity
72  /*!
73  * shallow pointer that should be zero during destructor
74  */
76 
77 protected:
78  //protected members of SolidTransportData are analogous to those found in TransportParams
79 
80  //! Local storage of the number of species
81  // int nsp_;
82 
83  //! Pointer to the ThermoPhase object
84  // thermo_t* thermo;
85 
86  //! Local storage of the molecular weights of the species
87  /*!
88  * Length is nsp_ and units are kg kmol-1.
89  */
90  // vector_fp mw;
91 
92  //! Maximum temperatures for parameter fits
93  // doublereal tmax;
94 
95  //! Minimum temperatures for parameter fits
96  // doublereal tmin;
97 
98  //! Log level
99  // int log_level;
100 
101 };
102 
103 }
104 #endif
LTPspecies * defectDiffusivity
Model type for the defectDiffusivity – or more like a defect diffusivity in the context of the solid ...
LTPspecies * defectActivity
Model type for the defectActivity.
Header file defining class LTPspecies and its child classes.
LTPspecies * electConductivity
Model type for the electrical conductivity.
Class LTPspecies holds transport parameterizations for a specific liquid-phase species.
Definition: LTPspecies.h:72
std::string speciesName
A SolidTransportData object is instantiated for each species.
LTPspecies * ionConductivity
Model type for the ionic conductivity.
Base structure to hold transport model parameters.
LTPspecies * thermalConductivity
Model type for the thermal conductivity.
Class SolidTransportData holds transport parameters for a specific solid-phase species.
Class that holds the data that is read in from the XML file, and which is used for processing of the ...