mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #1191 from totto82/fix_output_new_timestep
FIX output the correct next timestep after convergece failure
This commit is contained in:
commit
1e5652ac3b
@ -354,7 +354,7 @@ namespace Opm {
|
|||||||
if( solver_verbose_ ) {
|
if( solver_verbose_ ) {
|
||||||
std::string msg;
|
std::string msg;
|
||||||
msg = "Solver convergence failed, cutting timestep to "
|
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);
|
OpmLog::problem(msg);
|
||||||
}
|
}
|
||||||
// reset states
|
// reset states
|
||||||
|
Loading…
Reference in New Issue
Block a user