EclipseWriter: write the summary file after each call to writeTimeStep()

this allows to interrupt a simulation and inspect the summary file
which was computed up to that point...
This commit is contained in:
Andreas Lauser 2014-04-04 14:29:34 +02:00
parent b4b03ffee3
commit e693fa8cf1

View File

@ -963,6 +963,9 @@ EclipseSummary::writeTimeStep (const SimulatorTimer& timer,
const double value = (*v)->update (timer, wellState);
ecl_sum_tstep_iset(*tstep, *(*v).get (), value);
}
// write the summary file to disk
ecl_sum_fwrite(*this);
}
/// Supported well types. Enumeration doesn't let us get all the members,