FIX output the correct next timestep after convergece failure

This commit is contained in:
Tor Harald Sandve committed 2017-05-29 09:48:34 +02:00
1 parent a61d8ab14a
commit 434f96db0a
1 file changed
+1 -1
@@ -354,7 +354,7 @@ namespace Opm {
if( solver_verbose_ ) {
std::string msg;
msg = "Solver convergence failed, cutting timestep to "
+ std::to_string(unit::convert::to( newTimeStep, unit::day )) + " days.\n";
+ std::to_string(unit::convert::to( substepTimer.currentStepLength(), unit::day )) + " days.\n";
OpmLog::problem(msg);
}
// reset states