mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add ability to set GeoMech-result address programatically for Well Log Exctraction curves.
This commit is contained in:
@@ -886,3 +886,11 @@ void RimWellLogExtractionCurve::setEclipseResultVariable(const QString& resVarna
|
|||||||
{
|
{
|
||||||
m_eclipseResultDefinition->setResultVariable(resVarname);
|
m_eclipseResultDefinition->setResultVariable(resVarname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
void RimWellLogExtractionCurve::setGeoMechResultAddress(const RigFemResultAddress& resAddr)
|
||||||
|
{
|
||||||
|
m_geomResultDefinition->setResultAddress(resAddr);
|
||||||
|
}
|
||||||
|
|||||||
@@ -21,6 +21,8 @@
|
|||||||
|
|
||||||
#include "RimWellLogCurve.h"
|
#include "RimWellLogCurve.h"
|
||||||
|
|
||||||
|
#include "RigFemResultAddress.h"
|
||||||
|
|
||||||
#include "cafPdmPtrField.h"
|
#include "cafPdmPtrField.h"
|
||||||
#include "cafPdmChildField.h"
|
#include "cafPdmChildField.h"
|
||||||
|
|
||||||
@@ -66,6 +68,7 @@ public:
|
|||||||
void setCurrentTimeStep(int timeStep);
|
void setCurrentTimeStep(int timeStep);
|
||||||
|
|
||||||
void setEclipseResultVariable(const QString& resVarname);
|
void setEclipseResultVariable(const QString& resVarname);
|
||||||
|
void setGeoMechResultAddress(const RigFemResultAddress& resAddr);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual QString createCurveAutoName() override;
|
virtual QString createCurveAutoName() override;
|
||||||
|
|||||||
Reference in New Issue
Block a user