mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
FIX output the correct next timestep after convergece failure
This commit is contained in:
parent
a61d8ab14a
commit
434f96db0a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user