Skip to content

Commit

Permalink
Remove throw when initalizing distributed multi-segment wells in Well…
Browse files Browse the repository at this point in the history
…State.cpp, that is possible with the next few commits
  • Loading branch information
lisajulia committed Nov 22, 2024
1 parent debb7cb commit 09cd076
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions opm/simulators/wells/WellState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -728,10 +728,6 @@ void WellState<Scalar>::initWellStateMSWell(const std::vector<Well>& wells_ecl,
n_activeperf++;
}
}

if (static_cast<int>(ws.perf_data.size()) != n_activeperf)
throw std::logic_error("Distributed multi-segment wells cannot be initialized properly yet.");


std::vector<std::vector<int>> segment_inlets(well_nseg);
for (int seg = 0; seg < well_nseg; ++seg) {
Expand Down

0 comments on commit 09cd076

Please sign in to comment.