Renames handleEXIT to applyEXIT.

This commit is contained in:
Williham Williham Totland
2020-09-25 10:12:55 +02:00
parent 5c49832cd1
commit 86eb1bf94e
2 changed files with 3 additions and 3 deletions

View File

@@ -442,7 +442,7 @@ namespace Opm
}
}
void handleEXIT(const DeckKeyword&, std::size_t currentStep);
void applyEXIT(const DeckKeyword&, std::size_t currentStep);
void applyMESSAGES(const DeckKeyword&, std::size_t currentStep);
void applyWELOPEN(const DeckKeyword&, std::size_t currentStep, const ParseContext&, ErrorGuard&, const std::vector<std::string>& matching_wells = {});
void applyWRFT(const DeckKeyword&, std::size_t currentStep);

View File

@@ -404,7 +404,7 @@ Schedule::Schedule(const Deck& deck, const EclipseState& es, const ParseContext&
this->m_actions.update(currentStep, new_actions);
}
void Schedule::handleEXIT(const DeckKeyword& keyword, std::size_t report_step) {
void Schedule::applyEXIT(const DeckKeyword& keyword, std::size_t report_step) {
using ex = ParserKeywords::EXIT;
int status = keyword.getRecord(0).getItem<ex::STATUS_CODE>().get<int>(0);
OpmLog::info("Simulation exit with status: " + std::to_string(status) + " requested as part of ACTIONX at report_step: " + std::to_string(report_step));
@@ -1352,7 +1352,7 @@ Schedule::Schedule(const Deck& deck, const EclipseState& es, const ParseContext&
this->applyWELOPEN(keyword, reportStep, parseContext, errors, result.wells());
if (keyword.name() == "EXIT")
this->handleEXIT(keyword, reportStep);
this->applyEXIT(keyword, reportStep);
if (keyword.name() == "UDQ")
this->updateUDQ(keyword, reportStep);