Use estimated time-step instead of average in next report step

This commit is contained in:
Tor Harald Sandve 2015-08-25 06:31:55 +02:00
parent 42464cbcb7
commit 81b8b631a6

View File

@ -225,8 +225,8 @@ namespace Opm {
}
// store max of the small time step for next reportStep
last_timestep_ = substepTimer.averageStepLength();
// store estimated time step for next reportStep
last_timestep_ = substepTimer.currentStepLength();
if( timestep_verbose_ )
{
substepTimer.report( std::cout );