mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8893 Rename quantity name -> vector name
This commit is contained in:
@@ -229,7 +229,7 @@ void RiaSummaryCurveDefinitionAnalyser::setCurveDefinitions( const std::vector<R
|
||||
{
|
||||
m_singleSummaryCases.clear();
|
||||
m_ensembles.clear();
|
||||
m_quantityNames.clear();
|
||||
m_vectorNames.clear();
|
||||
m_summaryAdresses.clear();
|
||||
|
||||
for ( const auto& curveDef : curveDefs )
|
||||
@@ -255,7 +255,7 @@ void RiaSummaryCurveDefinitionAnalyser::setCurveDefinitions( const std::vector<R
|
||||
{
|
||||
const RifEclipseSummaryAddress& address = curveDef.summaryAddress();
|
||||
|
||||
m_quantityNames.insert( address.quantityName() );
|
||||
m_vectorNames.insert( address.vectorName() );
|
||||
m_summaryAdresses.insert( address );
|
||||
}
|
||||
}
|
||||
|
@@ -75,5 +75,5 @@ public:
|
||||
std::set<RimSummaryCaseCollection*> m_ensembles; // All the ensembles referenced by the summary cases
|
||||
|
||||
std::set<RifEclipseSummaryAddress> m_summaryAdresses;
|
||||
std::set<std::string> m_quantityNames; // Quantity names from the addresses
|
||||
std::set<std::string> m_vectorNames;
|
||||
};
|
||||
|
@@ -383,9 +383,9 @@ void RiaSummaryAddressAnalyzer::analyzeSingleAddress( const RifEclipseSummaryAdd
|
||||
m_wellNames.insert( { wellName, address } );
|
||||
}
|
||||
|
||||
if ( !address.quantityName().empty() )
|
||||
if ( !address.vectorName().empty() )
|
||||
{
|
||||
m_quantities.insert( address.quantityName() );
|
||||
m_quantities.insert( address.vectorName() );
|
||||
}
|
||||
|
||||
if ( !address.groupName().empty() )
|
||||
|
@@ -261,7 +261,7 @@ std::set<RifEclipseSummaryAddress>
|
||||
std::set<RifEclipseSummaryAddress> addressesWithoutDiffVectors;
|
||||
for ( const auto& adr : addresses )
|
||||
{
|
||||
if ( RiaStdStringTools::endsWith( adr.quantityName(), diffText ) ) continue;
|
||||
if ( RiaStdStringTools::endsWith( adr.vectorName(), diffText ) ) continue;
|
||||
|
||||
addressesWithoutDiffVectors.insert( adr );
|
||||
}
|
||||
|
Reference in New Issue
Block a user