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:
parent
8e03c38901
commit
1132a0db5e
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user