Changes to allow the program to compile!

visc_Eij and visc_Sij seem to have been taken out. And, the code no longer needs to resize them.
    Also took out some warning messages
This commit is contained in:
Harry Moffat 2009-12-21 18:15:15 +00:00
parent ee68428951
commit c865e0e4d7
3 changed files with 5 additions and 5 deletions

View file

@ -295,7 +295,7 @@ namespace Cantera {
doublereal t = m_thermo->temperature();
if (t != m_temp) {
double tempN = 1.0;
for ( int i = 0; i < m_coeffs.size() ; i++ ) {
for (int i = 0; i < (int) m_coeffs.size() ; i++) {
m_prop += m_coeffs[i] * tempN;
tempN *= m_temp;
}

View file

@ -31,7 +31,7 @@ namespace Cantera {
//====================================================================================================================
SolidTransport::SolidTransport() :
Transport() ,
m_nmobile(0.0),
m_nmobile(0),
m_Adiff(0),
m_Ndiff(0),
m_Ediff(0),
@ -48,7 +48,7 @@ namespace Cantera {
//====================================================================================================================
SolidTransport::SolidTransport(const SolidTransport &right) :
Transport(),
m_nmobile(0.0),
m_nmobile(0),
m_Adiff(0),
m_Ndiff(0),
m_Ediff(0),

View file

@ -626,8 +626,8 @@ namespace Cantera {
// Need to identify a method to obtain interaction matrices.
// This will fill LiquidTransportParams members visc_Eij, visc_Sij
trParam.visc_Eij.resize(nsp,nsp);
trParam.visc_Sij.resize(nsp,nsp);
// trParam.visc_Eij.resize(nsp,nsp);
// trParam.visc_Sij.resize(nsp,nsp);
trParam.thermalCond_Aij.resize(nsp,nsp);
trParam.diff_Dij.resize(nsp,nsp);
trParam.radius_Aij.resize(nsp,nsp);