mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Minor adjustments from review.
This commit is contained in:
parent
561bec4a64
commit
cf7b258f72
@ -193,9 +193,9 @@ namespace Opm {
|
|||||||
*/
|
*/
|
||||||
template <class Solver>
|
template <class Solver>
|
||||||
SimulatorReport step(const SimulatorTimer& simulatorTimer,
|
SimulatorReport step(const SimulatorTimer& simulatorTimer,
|
||||||
Solver& solver,
|
Solver& solver,
|
||||||
const bool isEvent,
|
const bool isEvent,
|
||||||
const std::vector<int>* fipnum = nullptr)
|
const std::vector<int>* fipnum = nullptr)
|
||||||
{
|
{
|
||||||
SimulatorReport report;
|
SimulatorReport report;
|
||||||
const double timestep = simulatorTimer.currentStepLength();
|
const double timestep = simulatorTimer.currentStepLength();
|
||||||
|
@ -65,7 +65,7 @@ namespace Opm
|
|||||||
total_linearizations += sr.total_linearizations;
|
total_linearizations += sr.total_linearizations;
|
||||||
total_newton_iterations += sr.total_newton_iterations;
|
total_newton_iterations += sr.total_newton_iterations;
|
||||||
total_linear_iterations += sr.total_linear_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;
|
bool converged;
|
||||||
int exit_status;
|
int exit_status;
|
||||||
|
|
||||||
double global_time;
|
double global_time;
|
||||||
double timestep_length;
|
double timestep_length;
|
||||||
|
|
||||||
/// Default constructor initializing all times to 0.0.
|
/// Default constructor initializing all times to 0.0.
|
||||||
|
Loading…
Reference in New Issue
Block a user