Cantera  2.1.2
Public Member Functions | Public Attributes | List of all members
SolidTransportData Class Reference

Class SolidTransportData holds transport parameters for a specific solid-phase species. More...

#include <SolidTransportData.h>

Inheritance diagram for SolidTransportData:
[legend]
Collaboration diagram for SolidTransportData:
[legend]

Public Member Functions

 SolidTransportData (const SolidTransportData &right)
 
SolidTransportDataoperator= (const SolidTransportData &right)
 

Public Attributes

std::string speciesName
 A SolidTransportData object is instantiated for each species. More...
 
LTPspeciesionConductivity
 Model type for the ionic conductivity. More...
 
LTPspeciesthermalConductivity
 Model type for the thermal conductivity. More...
 
LTPspecieselectConductivity
 Model type for the electrical conductivity. More...
 
LTPspeciesdefectDiffusivity
 Model type for the defectDiffusivity – or more like a defect diffusivity in the context of the solid phase. More...
 
LTPspeciesdefectActivity
 Model type for the defectActivity. More...
 
- Public Attributes inherited from TransportParams
size_t nsp_
 Local storage of the number of species. More...
 
thermo_tthermo
 Pointer to the ThermoPhase object. 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...
 
XML_Writer * xml
 Pointer to the xml tree describing the implementation of transport for this object. More...
 
int log_level
 Log level. More...
 

Detailed Description

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 37 of file SolidTransportData.h.

Member Data Documentation

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 47 of file SolidTransportData.h.

LTPspecies* ionConductivity

Model type for the ionic conductivity.

shallow pointer that should be zero during destructor

Definition at line 53 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 59 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 65 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 71 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 77 of file SolidTransportData.h.

Referenced by TransportFactory::getSolidTransportData(), and SolidTransport::initSolid().


The documentation for this class was generated from the following files: