mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
AdaptiveTimeStepping: rename ebosProblem to problem
This commit is contained in:
@@ -372,8 +372,8 @@ std::set<std::string> consistentlyFailingWells(const std::vector<StepReport>& sr
|
||||
suggestedNextTimestep_ = timestepAfterEvent_;
|
||||
}
|
||||
|
||||
auto& modelSimulator = solver.model().simulator();
|
||||
auto& ebosProblem = modelSimulator.problem();
|
||||
auto& simulator = solver.model().simulator();
|
||||
auto& problem = simulator.problem();
|
||||
|
||||
// create adaptive step timer with previously used sub step size
|
||||
AdaptiveSimulatorTimer substepTimer(simulatorTimer, suggestedNextTimestep_, maxTimeStep_);
|
||||
@@ -446,7 +446,7 @@ std::set<std::string> consistentlyFailingWells(const std::vector<StepReport>& sr
|
||||
}
|
||||
|
||||
//Pass substep to eclwriter for summary output
|
||||
modelSimulator.problem().setSubStepReport(substepReport);
|
||||
simulator.problem().setSubStepReport(substepReport);
|
||||
|
||||
report += substepReport;
|
||||
|
||||
@@ -514,7 +514,7 @@ std::set<std::string> consistentlyFailingWells(const std::vector<StepReport>& sr
|
||||
time::StopWatch perfTimer;
|
||||
perfTimer.start();
|
||||
|
||||
ebosProblem.writeOutput(simulatorTimer);
|
||||
problem.writeOutput(simulatorTimer);
|
||||
|
||||
report.success.output_write_time += perfTimer.secsSinceStart();
|
||||
}
|
||||
@@ -615,7 +615,7 @@ std::set<std::string> consistentlyFailingWells(const std::vector<StepReport>& sr
|
||||
}
|
||||
}
|
||||
}
|
||||
ebosProblem.setNextTimeStepSize(substepTimer.currentStepLength());
|
||||
problem.setNextTimeStepSize(substepTimer.currentStepLength());
|
||||
}
|
||||
|
||||
// store estimated time step for next reportStep
|
||||
|
||||
Reference in New Issue
Block a user