mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 01:12:02 -05: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:
1 parent
6ab54a1057
commit
9e9a8639ec
1 file changed
+1
-1
@@ -312,7 +312,7 @@ public:
|
||||
*/
|
||||
bool shouldWriteOutput()
|
||||
{
|
||||
if (this->simulator().timeStepIndex() == 0)
|
||||
if (this->simulator().timeStepIndex() < 0)
|
||||
// always write the initial solution
|
||||
return true;
|
||||
|
||||
|
||||
Reference in new issue
Block a user