Store whether timestep failed or not

Used in flow ebos to tell the simulator to recalculate the cached
quantities for failed timesteps.
This commit is contained in:
Tor Harald Sandve
2016-12-05 09:37:30 +01:00
parent 676af2b00b
commit f65f5d2c3b
5 changed files with 18 additions and 1 deletions

View File

@@ -110,6 +110,10 @@ namespace Opm
/// Return true if op++() has been called numSteps() times.
bool done() const;
/// Always return false. Timestep failures is handled in the
/// substepTimer
bool lastStepFailed() const {return false;}
/// return copy of object
virtual std::unique_ptr< SimulatorTimerInterface > clone() const;