From 19de8a4fae0c91a9de2306678166e2f620ad8dc9 Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Wed, 18 Jan 2023 13:32:37 +0100 Subject: [PATCH] Hack to fix for starup/restart --- ebos/eclproblem.hh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ebos/eclproblem.hh b/ebos/eclproblem.hh index d4d99bd06b8..e2769573e5b 100644 --- a/ebos/eclproblem.hh +++ b/ebos/eclproblem.hh @@ -1682,6 +1682,10 @@ public: bool recycleFirstIterationStorage() const { int episodeIdx = this->episodeIndex(); + + if (this->simulator().timeStepIndex() == 0) + return true; + return !this->drsdtActive_(episodeIdx) && !this->drvdtActive_(episodeIdx) && this->rockCompPoroMultWc_.empty() &&