mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fix bug that sets global_time to 0
This commit is contained in:
parent
0667497108
commit
b86d5e2ad0
@ -70,7 +70,10 @@ namespace Opm
|
||||
total_linearizations += sr.total_linearizations;
|
||||
total_newton_iterations += sr.total_newton_iterations;
|
||||
total_linear_iterations += sr.total_linear_iterations;
|
||||
global_time = sr.global_time; // It makes no sense adding time points, so = not += here.
|
||||
// It makes no sense adding time points. Therefore, do not
|
||||
// overwrite the value of global_time which gets set in
|
||||
// NonlinearSolverEbos.hpp by the line:
|
||||
// report.global_time = timer.simulationTimeElapsed();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user