Solaris 10 update

Calling setState_TRY() in freezeSpecies() caused one of the test problems
on solaris to fail. FreezeSpecies is called before the phase is actually
set up (i.e., the size of the species is read from the input file).
For constant density phases, then, this was causing a problem (divide by zero).
setState() must be called after the phase is set up from the XML input file.
This commit is contained in:
Harry Moffat 2007-03-20 21:56:36 +00:00
parent ca6d1ea2f5
commit ed29f66c8c

View file

@ -306,7 +306,7 @@ namespace Cantera {
m_data[1] = 0.001;
m_data[2] = 1.0;
setState_TRY(300.0, density(), &m_data[2]);
//setState_TRY(300.0, density(), &m_data[2]);
m_kk = nSpecies();
}