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

@@ -42,6 +42,7 @@ namespace Opm
, dt_( 0.0 )
, current_step_( 0 )
, steps_()
, lastStepFailed_( false )
{
// reserve memory for sub steps
steps_.reserve( 10 );