mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05: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
|
||||
{
|
||||
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();
|
||||
|
||||
std::vector<double> values;
|
||||
geomExtractor->curveData(m_geomResultDefinition->resultAddress(), m_timeStep, &values);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user