[Thermo] Always initialize BinarySolutionTabulatedThermo member variables
This commit is contained in:
parent
f0c797c482
commit
7cf58af69e
1 changed files with 9 additions and 2 deletions
|
|
@ -20,17 +20,24 @@ namespace Cantera
|
|||
{
|
||||
|
||||
BinarySolutionTabulatedThermo::BinarySolutionTabulatedThermo()
|
||||
: m_kk_tab(npos)
|
||||
, m_xlast(-1)
|
||||
{
|
||||
}
|
||||
|
||||
BinarySolutionTabulatedThermo::BinarySolutionTabulatedThermo(const std::string& inputFile,
|
||||
const std::string& id_)
|
||||
const std::string& id_)
|
||||
: m_kk_tab(npos)
|
||||
, m_xlast(-1)
|
||||
|
||||
{
|
||||
initThermoFile(inputFile, id_);
|
||||
}
|
||||
|
||||
BinarySolutionTabulatedThermo::BinarySolutionTabulatedThermo(XML_Node& root,
|
||||
const std::string& id_)
|
||||
const std::string& id_)
|
||||
: m_kk_tab(npos)
|
||||
, m_xlast(-1)
|
||||
{
|
||||
importPhase(root, this);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue