Extract the Summary::eval() call from the output call

This commit is contained in:
Joakim Hove committed 2019-06-19 09:51:46 +02:00
1 parent e114d4a46d
commit 2950faece0
4 files changed
+117 -71

No files matched your search

+6
View File
@@ -132,11 +132,17 @@ void test_summary()
Opm::data::Wells dw;
bool substep = false;
simulator->startNextEpisode(0.0, 1e30);
simulator->setEpisodeIndex(0);
eclWriter->evalSummaryState(substep);
eclWriter->writeOutput(substep);
simulator->setEpisodeIndex(1);
eclWriter->evalSummaryState(substep);
eclWriter->writeOutput(substep);
simulator->setEpisodeIndex(2);
eclWriter->evalSummaryState(substep);
eclWriter->writeOutput(substep);
auto res = readsum( casename );