mirror of
https://github.com/OPM/ResInsight.git
synced 2026-08-27 05:37:21 -05:00
RimReservoirGridEnsembleBase: Make optional methods non-pure virtual with default implementations
mainGrid(), unionOfActiveCells(), computeUnionOfActiveCells(), and statisticsCaseCollection() default to null/no-op. Remove redundant overrides from RimEclipseCaseEnsemble.
This commit is contained in:
@@ -43,6 +43,7 @@ class QString;
|
||||
class RimWellTargetMapping;
|
||||
class RigCaseCellResultsData;
|
||||
class RigEclipseCaseData;
|
||||
class RigFormationNames;
|
||||
class RigGridBase;
|
||||
class RigMainGrid;
|
||||
class RigVirtualPerforationTransmissibilities;
|
||||
@@ -141,6 +142,8 @@ public:
|
||||
void addResultAlias( const QString& resultName, const QString& aliasName );
|
||||
void clearResultAliases();
|
||||
|
||||
void updateFormationNamesData() override;
|
||||
|
||||
protected:
|
||||
void initAfterRead() override;
|
||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
||||
@@ -149,7 +152,6 @@ protected:
|
||||
|
||||
void resultAliasUiOrdering( caf::PdmUiOrdering& uiOrdering );
|
||||
|
||||
void updateFormationNamesData() override;
|
||||
void syncResultAliases();
|
||||
|
||||
// Internal methods
|
||||
@@ -166,6 +168,8 @@ private:
|
||||
|
||||
void buildResultChildNodes();
|
||||
|
||||
const RigFormationNames* effectiveFormationNames() const;
|
||||
|
||||
protected:
|
||||
caf::PdmField<bool> m_flipXAxis;
|
||||
caf::PdmField<bool> m_flipYAxis;
|
||||
|
||||
Reference in New Issue
Block a user