mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#558) Added support for TVD/MD switch for curve data extracted from geo mech models
This was handled just for Eclipse models.
This commit is contained in:
@@ -232,8 +232,13 @@ void RimWellLogExtractionCurve::updatePlotData()
|
|||||||
}
|
}
|
||||||
else if (geomExtractor.notNull()) // geomExtractor
|
else if (geomExtractor.notNull()) // geomExtractor
|
||||||
{
|
{
|
||||||
const std::vector<double>& depthValues = geomExtractor->measuredDepth();
|
RimWellLogPlot* wellLogPlot;
|
||||||
|
firstAnchestorOrThisOfType(wellLogPlot);
|
||||||
|
CVF_ASSERT(wellLogPlot);
|
||||||
|
|
||||||
|
const std::vector<double>& depthValues = wellLogPlot->depthType() == RimWellLogPlot::MEASURED_DEPTH ? geomExtractor->measuredDepth() : geomExtractor->trueVerticalDepth();
|
||||||
m_geomResultDefinition->loadResult();
|
m_geomResultDefinition->loadResult();
|
||||||
|
|
||||||
std::vector<double> values;
|
std::vector<double> values;
|
||||||
geomExtractor->curveData(m_geomResultDefinition->resultAddress(), m_timeStep, &values);
|
geomExtractor->curveData(m_geomResultDefinition->resultAddress(), m_timeStep, &values);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user