mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-02 20:30:55 -06:00
[bugfix][AsyncOutput] Restore asynchronicity for output and make sure
that all output is written before the simulator is finalized.
This commit is contained in:
1 parent
e04bb6e91a
commit
526f1f9bb1
2 files changed
+15
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user