mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
ebos: write the ECL summary for the initial condition and shift all consecutive report steps
this brings the SPE1 and SPE9 graphs quite a bit closer to those of flow/eclipse.
This commit is contained in:
parent
d82f5be347
commit
58aeddf431
@ -365,7 +365,14 @@ public:
|
|||||||
* \brief Called by the simulator before each time integration.
|
* \brief Called by the simulator before each time integration.
|
||||||
*/
|
*/
|
||||||
void beginTimeStep()
|
void beginTimeStep()
|
||||||
{ wellManager_.beginTimeStep(); }
|
{
|
||||||
|
wellManager_.beginTimeStep();
|
||||||
|
|
||||||
|
// the initial condition, we need to write before the time step has finished.
|
||||||
|
if (this->simulator().episodeIndex() == 0)
|
||||||
|
// write the summary information after each time step
|
||||||
|
summaryWriter_.write(wellManager_, /*isInitial=*/true);
|
||||||
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Called by the simulator before each Newton-Raphson iteration.
|
* \brief Called by the simulator before each Newton-Raphson iteration.
|
||||||
|
Loading…
Reference in New Issue
Block a user