Cantera  2.1.2
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 
13 
14 namespace Cantera
15 {
16 
17 //! Class SolidTransportData holds transport parameters for a
18 //! specific solid-phase species.
19 /*!
20  * A SolidTransportData object is created for a solid phase
21  * (not for each species as happens for the analogous LiquidTransportData).
22  *
23  * This class is mainly used to collect transport properties from the parse
24  * phase in the TranportFactory and transfer them to the Transport class.
25  * Transport properties are expressed by subclasses of LTPspecies. Note that
26  * we use the liquid phase species model for the solid phases. That is, for
27  * the time being at least, we ignore mixing models for solid phases and just
28  * specify a transport property at the level that we specify the transport
29  * property for a species in the liquid phase. One may need to be careful
30  * about deleting pointers to LTPspecies objects created in the
31  * TransportFactory.
32  *
33  * All of the pointers in this class are shallow pointers. Therefore, this is
34  * a passthrough class, which keeps track of pointer ownership by zeroing
35  * pointers as we go. Yes, Yes, yes, this is not good.
36  */
38 {
39 public:
42  SolidTransportData& operator=(const SolidTransportData& right);
44 
45  //! A SolidTransportData object is instantiated for each species.
46  //! This is the species name for which this object is instantiated.
47  std::string speciesName;
48 
49  //! Model type for the ionic conductivity
50  /*!
51  * shallow pointer that should be zero during destructor
52  */
54 
55  //! Model type for the thermal conductivity
56  /*!
57  * shallow pointer that should be zero during destructor
58  */
60 
61  //! Model type for the electrical conductivity
62  /*!
63  * shallow pointer that should be zero during destructor
64  */
66 
67  //! Model type for the defectDiffusivity -- or more like a defect diffusivity in the context of the solid phase.
68  /*!
69  * shallow pointer that should be zero during destructor
70  */
72 
73  //! Model type for the defectActivity
74  /*!
75  * shallow pointer that should be zero during destructor
76  */
78 
79 protected:
80  //protected members of SolidTransportData are analogous to those found in TransportParams
81 
82  //! Local storage of the number of species
83  // int nsp_;
84 
85  //! Pointer to the ThermoPhase object
86  // thermo_t* thermo;
87 
88  //! Local storage of the molecular weights of the species
89  /*!
90  * Length is nsp_ and units are kg kmol-1.
91  */
92  // vector_fp mw;
93 
94  //! Maximum temperatures for parameter fits
95  // doublereal tmax;
96 
97  //! Minimum temperatures for parameter fits
98  // doublereal tmin;
99 
100  //! Pointer to the xml tree describing the implementation of transport for this object
101  // XML_Writer* xml;
102 
103  //! Log level
104  // int log_level;
105 
106 };
107 
108 }
109 #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.
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.
LTPspecies * electConductivity
Model type for the electrical conductivity.
Class LTPspecies holds transport parameters for a specific liquid-phase species.
Definition: LTPspecies.h:73
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 ...
File contains the FactoryBase class declarations.