Minor adjustments from review.

This commit is contained in:
Atgeirr Flø Rasmussen 2020-05-08 09:21:25 +02:00
parent 561bec4a64
commit cf7b258f72
3 changed files with 5 additions and 5 deletions

View File

@ -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();

View File

@ -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.
}

View File

@ -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.