mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
ECL problem: write the initial solution again
this regressed after time step index of the initial solution was changed from 0 (actually, this was also 0 for the first time step...) to -1 in b30af664.
This commit is contained in:
parent
6d6640fc9d
commit
8c457f3f78
@ -312,7 +312,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
bool shouldWriteOutput()
|
bool shouldWriteOutput()
|
||||||
{
|
{
|
||||||
if (this->simulator().timeStepIndex() == 0)
|
if (this->simulator().timeStepIndex() < 0)
|
||||||
// always write the initial solution
|
// always write the initial solution
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user