Removed some unused member variables from Transport classes

This commit is contained in:
Ray Speth 2012-10-24 15:46:45 +00:00
parent 120600c625
commit 436f38c6a6
9 changed files with 0 additions and 47 deletions

View file

@ -374,12 +374,6 @@ public:
void stefan_maxwell_solve();
private:
//! Minimum temperature applicable to the transport property eval
doublereal m_tmin;
//! Maximum temperature applicable to the transport property evaluator
doublereal m_tmax;
//! Local Copy of the molecular weights of the species
/*!
* Length is Equal to the number of species in the mechanism.

View file

@ -878,12 +878,6 @@ private:
//! Number of species squared
size_t m_nsp2;
//! Minimum temperature applicable to the transport property eval
doublereal m_tmin;
//! Maximum temperature applicable to the transport property evaluator
doublereal m_tmax;
//! Local copy of the molecular weights of the species
/*!
* Length is equal to the number of species in the phase

View file

@ -157,9 +157,6 @@ private:
doublereal m_thermal_tlast;
doublereal m_tmin;
doublereal m_tmax;
// property values
std::vector<std::vector<int> > m_poly;
std::vector<vector_fp> m_astar_poly;

View file

@ -201,7 +201,6 @@ private:
// mixture attributes
int m_nsp;
doublereal m_tmin, m_tmax;
vector_fp m_mw;
// polynomial fits

View file

@ -637,12 +637,6 @@ private:
*/
bool doMigration_;
//! Minimum temperature applicable to the transport property eval
doublereal m_tmin;
//! Maximum temperature applicable to the transport property evaluator
doublereal m_tmax;
//! Local Copy of the molecular weights of the species
/*!
* Length is Equal to the number of species in the mechanism.

View file

@ -32,8 +32,6 @@ namespace Cantera
//====================================================================================================================
AqueousTransport::AqueousTransport() :
m_tmin(-1.0),
m_tmax(100000.),
m_iStateMF(-1),
m_temp(-1.0),
m_logt(0.0),
@ -68,8 +66,6 @@ bool AqueousTransport::initLiquid(LiquidTransportParams& tr)
// constant substance attributes
m_thermo = tr.thermo;
m_nsp = m_thermo->nSpecies();
m_tmin = m_thermo->minTemp();
m_tmax = m_thermo->maxTemp();
// make a local copy of the molecular weights
m_mw.resize(m_nsp);

View file

@ -32,8 +32,6 @@ namespace Cantera
LiquidTransport::LiquidTransport(thermo_t* thermo, int ndim) :
Transport(thermo, ndim),
m_nsp2(0),
m_tmin(-1.0),
m_tmax(100000.),
m_viscMixModel(0),
m_ionCondMixModel(0),
m_lambdaMixModel(0),
@ -79,8 +77,6 @@ LiquidTransport::LiquidTransport(thermo_t* thermo, int ndim) :
LiquidTransport::LiquidTransport(const LiquidTransport& right) :
Transport(right.m_thermo, right.m_nDim),
m_nsp2(0),
m_tmin(-1.0),
m_tmax(100000.),
m_viscMixModel(0),
m_ionCondMixModel(0),
m_lambdaMixModel(0),
@ -134,8 +130,6 @@ LiquidTransport& LiquidTransport::operator=(const LiquidTransport& right)
}
Transport::operator=(right);
m_nsp2 = right.m_nsp2;
m_tmin = right.m_tmin;
m_tmax = right.m_tmax;
m_mw = right.m_mw;
m_viscTempDep_Ns = right.m_viscTempDep_Ns;
m_ionCondTempDep_Ns = right.m_ionCondTempDep_Ns;
@ -293,8 +287,6 @@ bool LiquidTransport::initLiquid(LiquidTransportParams& tr)
m_velocityBasis = tr.velocityBasis_;
m_nsp = m_thermo->nSpecies();
m_nsp2 = m_nsp*m_nsp;
m_tmin = m_thermo->minTemp();
m_tmax = m_thermo->maxTemp();
// make a local copy of the molecular weights
m_mw.resize(m_nsp, 0.0);

View file

@ -30,8 +30,6 @@ namespace Cantera
PecosTransport::PecosTransport() :
m_nsp(0),
m_tmin(-1.0),
m_tmax(100000.),
m_temp(-1.0),
m_logt(0.0)
{
@ -45,8 +43,6 @@ bool PecosTransport::initGas(GasTransportParams& tr)
// constant substance attributes
m_thermo = tr.thermo;
m_nsp = m_thermo->nSpecies();
m_tmin = m_thermo->minTemp();
m_tmax = m_thermo->maxTemp();
// make a local copy of the molecular weights
m_mw.resize(m_nsp);

View file

@ -36,9 +36,6 @@ SimpleTransport::SimpleTransport(thermo_t* thermo, int ndim) :
compositionDepType_(0),
useHydroRadius_(false),
doMigration_(0),
m_tmin(-1.0),
m_tmax(100000.),
m_iStateMF(-1),
concTot_(0.0),
m_temp(-1.0),
m_press(-1.0),
@ -60,8 +57,6 @@ SimpleTransport::SimpleTransport(const SimpleTransport& right) :
compositionDepType_(0),
useHydroRadius_(false),
doMigration_(0),
m_tmin(-1.0),
m_tmax(100000.),
m_iStateMF(-1),
m_temp(-1.0),
m_press(-1.0),
@ -93,8 +88,6 @@ SimpleTransport& SimpleTransport::operator=(const SimpleTransport& right)
compositionDepType_ = right.compositionDepType_;
useHydroRadius_ = right.useHydroRadius_;
doMigration_ = right.doMigration_;
m_tmin = right.m_tmin;
m_tmax = right.m_tmax;
m_mw = right.m_mw;
m_coeffVisc_Ns = right.m_coeffVisc_Ns;
@ -187,8 +180,6 @@ bool SimpleTransport::initLiquid(LiquidTransportParams& tr)
// constant substance attributes
m_thermo = tr.thermo;
m_nsp = m_thermo->nSpecies();
m_tmin = m_thermo->minTemp();
m_tmax = m_thermo->maxTemp();
/*
* Read the transport block in the phase XML Node