mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2141 : Fracture : Show conductivity result name from file
This commit is contained in:
@@ -276,7 +276,9 @@ const QString RivWellFracturePartMgr::resultInfoText(const RimEclipseView& activ
|
||||
|
||||
// Conductivity
|
||||
text.append("Result value: ");
|
||||
text.append(stimPlanColors->uiResultName() + " ");
|
||||
|
||||
QString resultName = stimPlanTemplate->mapUiResultNameToFileResultName(stimPlanColors->uiResultName());
|
||||
text.append(resultName + " ");
|
||||
text.append(condValueText + "\n");
|
||||
|
||||
// Cell index
|
||||
|
||||
@@ -86,6 +86,8 @@ public:
|
||||
MinMaxAccumulator& minMaxAccumulator,
|
||||
PosNegAccumulator& posNegAccumulator) const override;
|
||||
|
||||
QString mapUiResultNameToFileResultName(const QString& uiResultName) const;
|
||||
|
||||
protected:
|
||||
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;
|
||||
virtual QList<caf::PdmOptionItemInfo> calculateValueOptions(const caf::PdmFieldHandle* fieldNeedingOptions, bool* useOptionsOnly) override;
|
||||
@@ -99,8 +101,6 @@ private:
|
||||
void setDepthOfWellPathAtFracture();
|
||||
QString getUnitForStimPlanParameter(QString parameterName);
|
||||
|
||||
QString mapUiResultNameToFileResultName(const QString& uiResultName) const;
|
||||
|
||||
private:
|
||||
caf::PdmField<int> m_activeTimeStepIndex;
|
||||
caf::PdmField<QString> m_conductivityResultNameOnFile;
|
||||
|
||||
Reference in New Issue
Block a user