Skip to content
Snippets Groups Projects
Commit f31bb7c5 authored by Douglas Serson's avatar Douglas Serson
Browse files

Change FilterHistoryPoints for adaptive driver

parent 3e5dc2c2
No related branches found
No related tags found
No related merge requests found
......@@ -324,7 +324,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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment