Cantera
2.2.1
|
Class SolidTransportData holds transport parameters for a specific solid-phase species. More...
#include <SolidTransportData.h>
Public Member Functions | |
SolidTransportData (const SolidTransportData &right) | |
SolidTransportData & | operator= (const SolidTransportData &right) |
Public Attributes | |
std::string | speciesName |
A SolidTransportData object is instantiated for each species. More... | |
LTPspecies * | ionConductivity |
Model type for the ionic conductivity. More... | |
LTPspecies * | thermalConductivity |
Model type for the thermal conductivity. More... | |
LTPspecies * | electConductivity |
Model type for the electrical conductivity. More... | |
LTPspecies * | defectDiffusivity |
Model type for the defectDiffusivity – or more like a defect diffusivity in the context of the solid phase. More... | |
LTPspecies * | defectActivity |
Model type for the defectActivity. More... | |
Public Attributes inherited from TransportParams | |
size_t | nsp_ |
Local storage of the number of species. More... | |
thermo_t * | thermo |
Pointer to the ThermoPhase object: shallow pointer. More... | |
vector_fp | mw |
Local storage of the molecular weights of the species. More... | |
VelocityBasis | velocityBasis_ |
A basis for the average velocity can be specified. More... | |
doublereal | tmax |
Maximum temperatures for parameter fits. More... | |
doublereal | tmin |
Minimum temperatures for parameter fits. More... | |
int | mode_ |
Mode parameter. More... | |
int | log_level |
Log level. More... | |
Class SolidTransportData holds transport parameters for a specific solid-phase species.
A SolidTransportData object is created for a solid phase (not for each species as happens for the analogous LiquidTransportData).
This class is mainly used to collect transport properties from the parse phase in the TranportFactory and transfer them to the Transport class. Transport properties are expressed by subclasses of LTPspecies. Note that we use the liquid phase species model for the solid phases. That is, for the time being at least, we ignore mixing models for solid phases and just specify a transport property at the level that we specify the transport property for a species in the liquid phase. One may need to be careful about deleting pointers to LTPspecies objects created in the TransportFactory.
All of the pointers in this class are shallow pointers. Therefore, this is a passthrough class, which keeps track of pointer ownership by zeroing pointers as we go. Yes, Yes, yes, this is not good.
Definition at line 35 of file SolidTransportData.h.
std::string speciesName |
A SolidTransportData object is instantiated for each species.
This is the species name for which this object is instantiated.
Definition at line 45 of file SolidTransportData.h.
LTPspecies* ionConductivity |
Model type for the ionic conductivity.
shallow pointer that should be zero during destructor
Definition at line 51 of file SolidTransportData.h.
Referenced by TransportFactory::getSolidTransportData(), and SolidTransport::initSolid().
LTPspecies* thermalConductivity |
Model type for the thermal conductivity.
shallow pointer that should be zero during destructor
Definition at line 57 of file SolidTransportData.h.
Referenced by TransportFactory::getSolidTransportData(), and SolidTransport::initSolid().
LTPspecies* electConductivity |
Model type for the electrical conductivity.
shallow pointer that should be zero during destructor
Definition at line 63 of file SolidTransportData.h.
Referenced by TransportFactory::getSolidTransportData(), and SolidTransport::initSolid().
LTPspecies* defectDiffusivity |
Model type for the defectDiffusivity – or more like a defect diffusivity in the context of the solid phase.
shallow pointer that should be zero during destructor
Definition at line 69 of file SolidTransportData.h.
Referenced by TransportFactory::getSolidTransportData(), and SolidTransport::initSolid().
LTPspecies* defectActivity |
Model type for the defectActivity.
shallow pointer that should be zero during destructor
Definition at line 75 of file SolidTransportData.h.
Referenced by TransportFactory::getSolidTransportData(), and SolidTransport::initSolid().