Commit 09d645ed authored by Douglas Serson's avatar Douglas Serson Committed by Dave Moxey

Change FilterHistoryPoints for adaptive driver

(cherry picked from commit f31bb7c5)
parent 1811bb26
......@@ -368,7 +368,17 @@ void FilterHistoryPoints::v_Initialise(
}
// Open output stream
m_outputStream.open(m_outputFile.c_str());
bool adaptive;
m_session->MatchSolverInfo("Driver", "Adaptive",
adaptive, false);
if (adaptive)
{
m_outputStream.open(m_outputFile.c_str(), ofstream::app);
}
else
{
m_outputStream.open(m_outputFile.c_str());
}
m_outputStream << "# History data for variables (:";
for (i = 0; i < pFields.num_elements(); ++i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment