GasLiftSingleWell: split typetag independent code to separate class

This commit is contained in:
Arne Morten Kvarving
2021-05-20 14:20:27 +02:00
parent e4f4670e95
commit 1614767362
7 changed files with 1463 additions and 1421 deletions

View File

@@ -2652,7 +2652,7 @@ namespace Opm
= std::make_unique<GasLiftSingleWell>(
*this, ebos_simulator, summary_state,
deferred_logger, well_state);
auto state = glift->runOptimize();
auto state = glift->runOptimize(ebos_simulator.model().newtonMethod().numIterations());
if (state) {
glift_state_map.insert({this->name(), std::move(state)});
glift_wells.insert({this->name(), std::move(glift)});