mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-01 08:38:00 -06:00
#12448 Recompute statistical curves in RFT plots on replace
This commit is contained in:
1 parent
24553c1e16
commit
b5731f5104
2 files changed
+6
-1
No files matched your search
@@ -64,6 +64,7 @@ public:
|
||||
RimEclipseCase* eclipseCase() const;
|
||||
|
||||
RifReaderRftInterface* statisticsEclipseRftReader();
|
||||
void clearEnsembleStatistics();
|
||||
|
||||
protected:
|
||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
||||
@@ -77,7 +78,6 @@ protected:
|
||||
private:
|
||||
QString ensembleName() const;
|
||||
std::vector<QString> parametersWithVariation() const;
|
||||
void clearEnsembleStatistics();
|
||||
|
||||
private:
|
||||
caf::PdmPtrField<RimEclipseCase*> m_eclipseCase;
|
||||
|
||||
@@ -1548,6 +1548,11 @@ RimWellRftEnsembleCurveSet* RimWellRftPlot::findEnsembleCurveSet( RimSummaryEnse
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellRftPlot::rebuildCurves()
|
||||
{
|
||||
for ( auto c : m_ensembleCurveSets )
|
||||
{
|
||||
c->clearEnsembleStatistics();
|
||||
}
|
||||
|
||||
createEnsembleCurveSets();
|
||||
updateFormationsOnPlot();
|
||||
syncCurvesFromUiSelection();
|
||||
|
||||
Reference in new issue
Block a user