keep a vector of WellInterfaceGeneric* in BlackoilWellModelGeneric

these points to the same objects as well_container_
This commit is contained in:
Arne Morten Kvarving
2021-06-07 12:15:36 +02:00
parent 059140f2ee
commit cf6a3801fb
2 changed files with 11 additions and 3 deletions

View File

@@ -751,6 +751,10 @@ namespace Opm {
global_deferredLogger.logMessages();
}
well_container_generic_.clear();
for (auto& w : well_container)
well_container_generic_.push_back(w.get());
return well_container;
}