Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nektar
Nektar
Commits
09d645ed
Commit
09d645ed
authored
Mar 29, 2016
by
Douglas Serson
Committed by
Dave Moxey
Jul 11, 2016
Browse files
Change FilterHistoryPoints for adaptive driver
(cherry picked from commit
f31bb7c5
)
parent
1811bb26
Changes
1
Hide whitespace changes
Inline
Side-by-side
library/SolverUtils/Filters/FilterHistoryPoints.cpp
View file @
09d645ed
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment