mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3579 from joakim-hove/template-on-content-type
WTEST: only count actually closed wells.
This commit is contained in:
@@ -675,9 +675,8 @@ namespace Opm {
|
||||
assert(growthFactor_ >= 1.0);
|
||||
}
|
||||
|
||||
|
||||
template <class StepReportVector>
|
||||
std::set<std::string> consistentlyFailingWells(const StepReportVector& sr)
|
||||
template <class ProblemType>
|
||||
std::set<std::string> consistentlyFailingWells(const std::vector<ProblemType>& sr)
|
||||
{
|
||||
// If there are wells that cause repeated failures, we
|
||||
// close them, and restart the un-chopped timestep.
|
||||
|
||||
Reference in New Issue
Block a user