fixing the interface of wellModel constructors

to make all the simulators compile.
This commit is contained in:
Kai Bao
2016-10-13 18:16:19 +02:00
parent 26b16c1050
commit 0df52603d7
9 changed files with 37 additions and 19 deletions

View File

@@ -119,7 +119,7 @@ struct SetupMSW {
const Wells* wells = wells_manager.c_wells();
const auto wells_ecl = ecl_state.getSchedule().getWells(current_timestep);
ms_wells.reset(new Opm::MultisegmentWells(wells, wells_ecl, current_timestep));
ms_wells.reset(new Opm::MultisegmentWells(wells, &(wells_manager.wellCollection()), wells_ecl, current_timestep));
};
std::shared_ptr<const Opm::MultisegmentWells> ms_wells;