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:
@@ -70,8 +70,8 @@ void RicNewEnsembleCurveFilterFeature::onActionTriggered( bool isChecked )
|
||||
std::vector<RifEclipseSummaryAddress> addresses;
|
||||
|
||||
auto candidateAdr = newFilter->parentCurveSet()->summaryAddress();
|
||||
auto nativeQuantityName = RimObjectiveFunctionTools::nativeQuantityName( candidateAdr.quantityName() );
|
||||
candidateAdr.setQuantityName( nativeQuantityName );
|
||||
auto nativeQuantityName = RimObjectiveFunctionTools::nativeQuantityName( candidateAdr.vectorName() );
|
||||
candidateAdr.setVectorName( nativeQuantityName );
|
||||
addresses.push_back( candidateAdr );
|
||||
newFilter->setSummaryAddresses( addresses );
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ RimSummaryCurve* RicSummaryPlotFeatureImpl::createHistoryCurve( const RifEclipse
|
||||
RimSummaryCase* summaryCasesToUse )
|
||||
{
|
||||
RifEclipseSummaryAddress historyAddr = addr;
|
||||
historyAddr.setQuantityName( historyAddr.quantityName() + "H" );
|
||||
historyAddr.setVectorName( historyAddr.vectorName() + "H" );
|
||||
if ( summaryCasesToUse->summaryReader()->allResultAddresses().count( historyAddr ) )
|
||||
{
|
||||
return createCurve( summaryCasesToUse, historyAddr );
|
||||
@@ -730,7 +730,7 @@ std::vector<RimSummaryCurve*> RicSummaryPlotFeatureImpl::addCurvesFromAddressFil
|
||||
std::vector<RifEclipseSummaryAddress> historyAddressesToUse;
|
||||
for ( RifEclipseSummaryAddress historyAddr : curveAddressesToUse )
|
||||
{
|
||||
historyAddr.setQuantityName( historyAddr.quantityName() + "H" );
|
||||
historyAddr.setVectorName( historyAddr.vectorName() + "H" );
|
||||
if ( addrs.count( historyAddr ) )
|
||||
{
|
||||
historyAddressesToUse.push_back( historyAddr );
|
||||
|
||||
Reference in New Issue
Block a user