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:
parent
b4b03ffee3
commit
e693fa8cf1
@ -963,6 +963,9 @@ EclipseSummary::writeTimeStep (const SimulatorTimer& timer,
|
|||||||
const double value = (*v)->update (timer, wellState);
|
const double value = (*v)->update (timer, wellState);
|
||||||
ecl_sum_tstep_iset(*tstep, *(*v).get (), value);
|
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,
|
/// Supported well types. Enumeration doesn't let us get all the members,
|
||||||
|
Loading…
Reference in New Issue
Block a user