Cantera  2.0
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 ()
Default constructor.

SolidTransportData (const SolidTransportData &right)
Copy constructor.

SolidTransportDataoperator= (const SolidTransportData &right)
Assignment operator.

~SolidTransportData ()
Destructor.

Public Member Functions inherited from TransportParams
TransportParams ()
Default Constructor.

virtual ~TransportParams ()
Destructor.

## Public Attributes

std::string speciesName
A SolidTransportData object is instantiated for each species.

LTPspeciesionConductivity
Model type for the ionic conductivity.

LTPspeciesthermalConductivity
Model type for the thermal conductivity.

LTPspecieselectConductivity
Model type for the electrical conductivity.

LTPspeciesdefectDiffusivity
Model type for the defectDiffusivity – or more like a defect diffusivity in the context of the solid phase.

LTPspeciesdefectActivity
Model type for the defectActivity.

Public Attributes inherited from TransportParams
size_t nsp_
Local storage of the number of species.

thermo_tthermo
Pointer to the ThermoPhase object.

vector_fp mw
Local storage of the molecular weights of the species.

VelocityBasis velocityBasis_
A basis for the average velocity can be specified.

doublereal tmax
Maximum temperatures for parameter fits.

doublereal tmin
Minimum temperatures for parameter fits.

int mode_
Mode parameter.

XML_Writer * xml
Pointer to the xml tree describing the implementation of transport for this object.

int log_level
Log level.

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

## Constructor & Destructor Documentation

 SolidTransportData ( )

Default constructor.

Definition at line 22 of file SolidTransportData.cpp.

 SolidTransportData ( const SolidTransportData & right )

Copy constructor.

Definition at line 34 of file SolidTransportData.cpp.

 ~SolidTransportData ( )

Destructor.

Definition at line 71 of file SolidTransportData.cpp.

## Member Function Documentation

 SolidTransportData & operator= ( const SolidTransportData & right )

Assignment operator.

Definition at line 46 of file SolidTransportData.cpp.

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

Referenced by SolidTransportData::operator=().

 LTPspecies* ionConductivity

Model type for the ionic conductivity.

shallow pointer that should be zero during destructor

Definition at line 75 of file SolidTransportData.h.

 LTPspecies* thermalConductivity

Model type for the thermal conductivity.

shallow pointer that should be zero during destructor

Definition at line 81 of file SolidTransportData.h.

 LTPspecies* electConductivity

Model type for the electrical conductivity.

shallow pointer that should be zero during destructor

Definition at line 87 of file SolidTransportData.h.

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

 LTPspecies* defectActivity

Model type for the defectActivity.

shallow pointer that should be zero during destructor

Definition at line 99 of file SolidTransportData.h.

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