Add log message for Aquifer creation / initialization
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
*/
|
||||
#include <opm/parser/eclipse/EclipseState/Grid/FaceDir.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Aquancon.hpp>
|
||||
#include <opm/common/utility/OpmInputError.hpp>
|
||||
#include <opm/common/OpmLog/OpmLog.hpp>
|
||||
|
||||
#include <unordered_map>
|
||||
#include <utility>
|
||||
@@ -59,6 +61,7 @@ namespace Opm {
|
||||
std::unordered_map<std::size_t, Aquancon::AquancCell> work;
|
||||
for (std::size_t iaq = 0; iaq < deck.count("AQUANCON"); iaq++) {
|
||||
const auto& aquanconKeyword = deck.getKeyword("AQUANCON", iaq);
|
||||
OpmLog::info(OpmInputError::format("Initializing aquifer connections from {keyword} in {file} line {line}", aquanconKeyword.location()));
|
||||
for (const auto& aquanconRecord : aquanconKeyword) {
|
||||
const int aquiferID = aquanconRecord.getItem("AQUIFER_ID").get<int>(0);
|
||||
const int i1 = aquanconRecord.getItem("I1").get<int>(0) - 1;
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#include <opm/parser/eclipse/EclipseState/AquiferCT.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/EclipseState.hpp>
|
||||
#include <opm/common/utility/OpmInputError.hpp>
|
||||
#include <opm/common/OpmLog/OpmLog.hpp>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
@@ -138,6 +140,7 @@ AquiferCT::AquiferCT(const TableManager& tables, const Deck& deck)
|
||||
return;
|
||||
|
||||
const auto& aquctKeyword = deck.getKeyword<AQUCT>();
|
||||
OpmLog::info(OpmInputError::format("Initializing Carter Tracey aquifers from {keyword} in {file} line {line}", aquctKeyword.location()));
|
||||
for (auto& record : aquctKeyword)
|
||||
this->m_aquct.emplace_back(record, tables);
|
||||
}
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
#include <opm/parser/eclipse/EclipseState/Aquifetp.hpp>
|
||||
#include <opm/parser/eclipse/Deck/Deck.hpp>
|
||||
#include <opm/parser/eclipse/Deck/DeckRecord.hpp>
|
||||
#include <opm/common/utility/OpmInputError.hpp>
|
||||
#include <opm/common/OpmLog/OpmLog.hpp>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
@@ -71,6 +73,7 @@ Aquifetp::Aquifetp(const Deck& deck)
|
||||
return;
|
||||
|
||||
const auto& aqufetpKeyword = deck.getKeyword<AQUFETP>();
|
||||
OpmLog::info(OpmInputError::format("Initializing Fetkovich aquifers from {keyword} in {file} line {line}", aqufetpKeyword.location()));
|
||||
for (auto& record : aqufetpKeyword)
|
||||
this->m_aqufetp.emplace_back(record);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user