Remove report_step argument from Well::handleCOMPLUMP()

This commit is contained in:
Joakim Hove
2021-02-03 11:46:48 +01:00
parent fa85bc6445
commit 29274ed315
3 changed files with 3 additions and 3 deletions

View File

@@ -568,7 +568,7 @@ public:
bool handleWELSEGS(const DeckKeyword& keyword);
bool handleCOMPSEGS(const DeckKeyword& keyword, const EclipseGrid& grid, const ParseContext& parseContext, ErrorGuard& errors);
bool handleWELOPENConnections(const DeckRecord& record, std::size_t report_step, Connection::State status, bool action_mode);
bool handleCOMPLUMP(const DeckRecord& record, std::size_t report_step);
bool handleCOMPLUMP(const DeckRecord& record);
bool handleWPIMULT(const DeckRecord& record, std::size_t report_step);
void filterConnections(const ActiveGridCells& grid);

View File

@@ -195,7 +195,7 @@ namespace {
for (const auto& wname : well_names) {
auto& dynamic_state = this->wells_static.at(wname);
auto well_ptr = std::make_shared<Well>( *dynamic_state[handlerContext.currentStep] );
if (well_ptr->handleCOMPLUMP(record, handlerContext.currentStep))
if (well_ptr->handleCOMPLUMP(record))
this->updateWell(std::move(well_ptr), handlerContext.currentStep);
}
}

View File

@@ -1033,7 +1033,7 @@ bool Well::handleWELOPENConnections(const DeckRecord& record, std::size_t report
bool Well::handleCOMPLUMP(const DeckRecord& record, std::size_t report_step) {
bool Well::handleCOMPLUMP(const DeckRecord& record) {
auto match = [=]( const Connection &c) -> bool {
if (!match_eq(c.getI(), record, "I" , -1)) return false;