mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-11 08:51:55 -06:00
Minor adjustments from review.
This commit is contained in:
parent
561bec4a64
commit
cf7b258f72
@ -193,9 +193,9 @@ namespace Opm {
|
||||
*/
|
||||
template <class Solver>
|
||||
SimulatorReport step(const SimulatorTimer& simulatorTimer,
|
||||
Solver& solver,
|
||||
const bool isEvent,
|
||||
const std::vector<int>* fipnum = nullptr)
|
||||
Solver& solver,
|
||||
const bool isEvent,
|
||||
const std::vector<int>* fipnum = nullptr)
|
||||
{
|
||||
SimulatorReport report;
|
||||
const double timestep = simulatorTimer.currentStepLength();
|
||||
|
@ -65,7 +65,7 @@ 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;
|
||||
global_time = sr.global_time; // It makes no sense adding time points, so = not += here.
|
||||
}
|
||||
|
||||
|
||||
|
@ -47,7 +47,7 @@ namespace Opm
|
||||
bool converged;
|
||||
int exit_status;
|
||||
|
||||
double global_time;
|
||||
double global_time;
|
||||
double timestep_length;
|
||||
|
||||
/// Default constructor initializing all times to 0.0.
|
||||
|
Loading…
Reference in New Issue
Block a user