mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-24 16:30:02 -06:00
Templatize over content type instead of full argument type
This commit is contained in:
parent
be787b8e14
commit
eb2ca4798c
@ -675,9 +675,8 @@ namespace Opm {
|
|||||||
assert(growthFactor_ >= 1.0);
|
assert(growthFactor_ >= 1.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template <class ProblemType>
|
||||||
template <class StepReportVector>
|
std::set<std::string> consistentlyFailingWells(const std::vector<ProblemType>& sr)
|
||||||
std::set<std::string> consistentlyFailingWells(const StepReportVector& sr)
|
|
||||||
{
|
{
|
||||||
// If there are wells that cause repeated failures, we
|
// If there are wells that cause repeated failures, we
|
||||||
// close them, and restart the un-chopped timestep.
|
// close them, and restart the un-chopped timestep.
|
||||||
|
Loading…
Reference in New Issue
Block a user