[bugfix][AsyncOutput] Restore asynchronicity for output and make sure

that all output is written before the simulator is finalized.
This commit is contained in:
Robert Kloefkorn committed 2020-02-10 12:11:30 +01:00
1 parent e04bb6e91a
commit 526f1f9bb1
2 files changed
+15

No files matched your search

+6
View File
@@ -1056,6 +1056,12 @@ public:
eclWriter_->writeOutput(isSubStep);
}
void finalizeOutput() {
// this will write all pending output to disk
// to avoid corruption of output files
eclWriter_.reset();
}
void applyActions(int reportStep,
double sim_time,