mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#7380 Correlation Plot : Use complete summary address text when possible
This commit is contained in:
@@ -227,7 +227,7 @@ void RiaSummaryCurveDefinitionAnalyser::setCurveDefinitions( const std::vector<R
|
||||
m_singleSummaryCases.clear();
|
||||
m_ensembles.clear();
|
||||
m_quantityNames.clear();
|
||||
m_summaryItems.clear();
|
||||
m_summaryAdresses.clear();
|
||||
|
||||
for ( const auto& curveDef : curveDefs )
|
||||
{
|
||||
@@ -247,14 +247,13 @@ void RiaSummaryCurveDefinitionAnalyser::setCurveDefinitions( const std::vector<R
|
||||
}
|
||||
valid = true;
|
||||
}
|
||||
|
||||
if ( valid )
|
||||
{
|
||||
RifEclipseSummaryAddress address = curveDef.summaryAddress();
|
||||
const RifEclipseSummaryAddress& address = curveDef.summaryAddress();
|
||||
|
||||
m_quantityNames.insert( address.quantityName() );
|
||||
|
||||
address.setQuantityName( "" );
|
||||
if ( !address.itemUiText().empty() ) m_summaryItems.insert( address );
|
||||
m_summaryAdresses.insert( address );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,6 +74,6 @@ public:
|
||||
std::set<RimSummaryCase*> m_singleSummaryCases; // All summary cases used
|
||||
std::set<RimSummaryCaseCollection*> m_ensembles; // All the ensembles referenced by the summary cases
|
||||
|
||||
std::set<RifEclipseSummaryAddress> m_summaryItems; // Quantity name set to "", stores only the identifiers
|
||||
std::set<RifEclipseSummaryAddress> m_summaryAdresses;
|
||||
std::set<std::string> m_quantityNames; // Quantity names from the addresses
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user