mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merge remote-tracking branch 'origin/2018.11.01-patch' into dev
This commit is contained in:
@@ -520,14 +520,14 @@ RifEclipseSummaryAddress RifEclipseSummaryAddress::ensembleStatisticsAddress(con
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RifEclipseSummaryAddress::isDependentOnWellName(const RifEclipseSummaryAddress& address)
|
||||
bool RifEclipseSummaryAddress::isDependentOnWellName(SummaryVarCategory category)
|
||||
{
|
||||
// clang-format off
|
||||
if (address.category() == SUMMARY_WELL ||
|
||||
address.category() == SUMMARY_WELL_COMPLETION ||
|
||||
address.category() == SUMMARY_WELL_COMPLETION_LGR ||
|
||||
address.category() == SUMMARY_WELL_LGR ||
|
||||
address.category() == SUMMARY_WELL_SEGMENT)
|
||||
if (category == SUMMARY_WELL ||
|
||||
category == SUMMARY_WELL_COMPLETION ||
|
||||
category == SUMMARY_WELL_COMPLETION_LGR ||
|
||||
category == SUMMARY_WELL_LGR ||
|
||||
category == SUMMARY_WELL_SEGMENT)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -144,7 +144,7 @@ public:
|
||||
static RifEclipseSummaryAddress importedAddress(const std::string& quantityName);
|
||||
static RifEclipseSummaryAddress ensembleStatisticsAddress(const std::string& quantityName, const std::string& dataQuantityName);
|
||||
|
||||
static bool isDependentOnWellName(const RifEclipseSummaryAddress& address);
|
||||
static bool isDependentOnWellName(SummaryVarCategory category);
|
||||
|
||||
// Access methods
|
||||
|
||||
|
||||
Reference in New Issue
Block a user