Minor changes to reflect changes in LiquidTransportParams,

LiquidTransportData and TransportParams.  However, the last set of
changes broke AqueosTransport because it uses the same property
coefficient vectors as those now moved to GasTransportParams.
This commit is contained in:
John Hewson 2009-10-23 19:03:02 +00:00
parent dbef25a481
commit e52797d335
3 changed files with 9 additions and 6 deletions

View file

@ -87,9 +87,12 @@ namespace Cantera {
m_thermo->molecularWeights().end(), m_mw.begin());
// copy polynomials and parameters into local storage
m_visccoeffs = tr.visccoeffs;
m_condcoeffs = tr.condcoeffs;
m_diffcoeffs = tr.diffcoeffs;
//m_visccoeffs = tr.visccoeffs;
//m_condcoeffs = tr.condcoeffs;
//m_diffcoeffs = tr.diffcoeffs;
cout << "In AqueousTransport::initLiquid we need to replace" << endl
<< "LiquidTransportParams polyniomial coefficients with" << endl
<< "those in LiquidTransportData as in SimpleTransport." << endl;
m_mode = tr.mode_;

View file

@ -296,7 +296,7 @@ namespace Cantera {
"hydroradius model is not constant for species " + spName0);
}
vector_fp &kentry = m_coeffHydroRadius_Ns[k];
kentry.push_back(ltd.hydroradius);
kentry = ltd.hydroRadiusCoeffs;
} else {
if (dm != dm0) {
throw CanteraError(" SimpleTransport::initLiquid",

View file

@ -310,7 +310,7 @@ namespace Cantera {
*/
virtual void getFluidMobilities(doublereal* const mobil_f);
//! Specify the valpdaue of the gradient of the voltage
//! Specify the value of the gradient of the voltage
/*!
*
* @param grad_V Gradient of the voltage (length num dimensions);
@ -450,7 +450,7 @@ namespace Cantera {
* Types of temperature dependencies:
* 0 - Independent of temperature (only one implemented so far)
* 1 - extended arrhenius form
* 2 - power law form
* 2 - polynomial in temperature form
*/
int tempDepType_;