Merge pull request #2145 from joakim-hove/improve-error-message

Improve error message for connection in inactive cell
This commit is contained in:
Joakim Hove
2020-12-02 08:29:55 +01:00
committed by GitHub
4 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ Opm::WellConnections loadCOMPDAT(const std::string& compdat_keyword) {
const auto& keyword = deck.getKeyword("COMPDAT", 0);
Opm::WellConnections connections(Opm::Connection::Order::TRACK, 10,10);
for (const auto& rec : keyword)
connections.loadCOMPDAT(rec, grid, field_props, {});
connections.loadCOMPDAT(rec, grid, field_props, "WELL", {});
return connections;
}