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:
Andreas Lauser 2015-09-10 15:35:17 +02:00
parent d82f5be347
commit 58aeddf431

View File

@ -365,7 +365,14 @@ public:
* \brief Called by the simulator before each time integration.
*/
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.