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:
parent
ca6d1ea2f5
commit
ed29f66c8c
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue