mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
pass the timer object instead of the time step size to the simulators
This commit is contained in:
parent
b8ef9cb630
commit
0dda8d49c5
@ -26,6 +26,7 @@
|
||||
#include <opm/core/simulator/SimulatorTimer.hpp>
|
||||
#include <opm/core/simulator/AdaptiveSimulatorTimer.hpp>
|
||||
#include <opm/core/simulator/TimeStepControl.hpp>
|
||||
#include <opm/common/Exceptions.hpp>
|
||||
#include <opm/common/OpmLog/OpmLog.hpp>
|
||||
#include <dune/istl/istlexception.hh>
|
||||
#include <dune/istl/ilu.hh> // For MatrixBlockException
|
||||
@ -165,7 +166,7 @@ namespace Opm {
|
||||
int linearIterations = -1;
|
||||
try {
|
||||
// (linearIterations < 0 means on convergence in solver)
|
||||
linearIterations = solver.step( dt, state, well_state);
|
||||
linearIterations = solver.step( substepTimer, state, well_state);
|
||||
|
||||
if( solver_verbose_ ) {
|
||||
// report number of linear iterations
|
||||
|
Loading…
Reference in New Issue
Block a user