Merge pull request #1261 from GitPaean/recovering_model2_running

not throwing when encountering multisegment wells.
This commit is contained in:
Atgeirr Flø Rasmussen 2017-08-29 11:21:45 +02:00 committed by GitHub
commit a162d883bf

View File

@ -144,9 +144,10 @@ namespace Opm {
}
const Well* well_ecl = wells_ecl[index_well];
if (well_ecl->isMultiSegment(time_step)) {
// TODO: stopping throwing when encoutnering MS wells for now.
/* if (well_ecl->isMultiSegment(time_step)) {
OPM_THROW(Opm::NumericalProblem, "Not handling Multisegment Wells for now");
}
} */
// Basically, we are handling all the wells as StandardWell for the moment
well_container.emplace_back(new StandardWell<TypeTag>(well_ecl, time_step, wells) );