mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4783 Ensemble RFT: make sure we get some default data sources.
This commit is contained in:
parent
da6c7cf621
commit
f2be5c00fd
@ -68,7 +68,12 @@ public:
|
||||
|
||||
static std::set<RftWellLogChannelType> rftPlotChannelTypes()
|
||||
{
|
||||
return {RifEclipseRftAddress::PRESSURE};
|
||||
return {RifEclipseRftAddress::PRESSURE,
|
||||
RifEclipseRftAddress::PRESSURE_ERROR,
|
||||
RifEclipseRftAddress::PRESSURE_MEAN,
|
||||
RifEclipseRftAddress::PRESSURE_P10,
|
||||
RifEclipseRftAddress::PRESSURE_P50,
|
||||
RifEclipseRftAddress::PRESSURE_P90};
|
||||
}
|
||||
|
||||
static std::set<RftWellLogChannelType> pltPlotChannelTypes()
|
||||
|
@ -150,9 +150,12 @@ void RimWellRftPlot::applyCurveAppearance( RimWellLogCurve* newCurve )
|
||||
currentColor = m_dataSourceColors[sourceAddress];
|
||||
if ( m_showStatisticsCurves )
|
||||
{
|
||||
cvf::Color3f backgroundColor = RiaColorTools::fromQColorTo3f(
|
||||
trackByIndex( 0 )->viewer()->canvasBackground().color() );
|
||||
currentColor = RiaColorTools::blendCvfColors( backgroundColor, currentColor, 2, 1 );
|
||||
if ( trackByIndex( 0 ) && trackByIndex( 0 )->viewer() )
|
||||
{
|
||||
cvf::Color3f backgroundColor = RiaColorTools::fromQColorTo3f(
|
||||
trackByIndex( 0 )->viewer()->canvasBackground().color() );
|
||||
currentColor = RiaColorTools::blendCvfColors( backgroundColor, currentColor, 2, 1 );
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -247,7 +250,7 @@ void RimWellRftPlot::applyInitialSelections()
|
||||
sourcesToSelect.push_back( RifDataSourceForRftPlt( RifDataSourceForRftPlt::GRID, gridCase ) );
|
||||
}
|
||||
|
||||
for ( RimSummaryCaseCollection* const ensemble : RimWellPlotTools::rftEnsemblesForWell( m_wellPathNameOrSimWellName ) )
|
||||
for ( RimSummaryCaseCollection* const ensemble : RimWellPlotTools::rftEnsemblesForWell( simWellName ) )
|
||||
{
|
||||
sourcesToSelect.push_back( RifDataSourceForRftPlt( RifDataSourceForRftPlt::ENSEMBLE_RFT, ensemble ) );
|
||||
}
|
||||
@ -262,7 +265,8 @@ void RimWellRftPlot::applyInitialSelections()
|
||||
}
|
||||
}
|
||||
|
||||
for ( RimObservedFmuRftData* const observedFmuRftData : RimWellPlotTools::observedFmuRftData() )
|
||||
for ( RimObservedFmuRftData* const observedFmuRftData :
|
||||
RimWellPlotTools::observedFmuRftDataForWell( m_wellPathNameOrSimWellName ) )
|
||||
{
|
||||
sourcesToSelect.push_back(
|
||||
RifDataSourceForRftPlt( RifDataSourceForRftPlt::OBSERVED_FMU_RFT, observedFmuRftData ) );
|
||||
|
Loading…
Reference in New Issue
Block a user