mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#6146 RFT plot: Use MD from Wells for Ensembles.
This commit is contained in:
committed by
Magne Sjaastad
parent
724131d310
commit
411adfd7e6
@@ -1014,15 +1014,14 @@ bool RimWellLogRftCurve::deriveMeasuredDepthValuesFromWellPath( const std::vecto
|
|||||||
RimProject* proj = RimProject::current();
|
RimProject* proj = RimProject::current();
|
||||||
RimWellPath* wellPath = proj->wellPathByName( m_wellName );
|
RimWellPath* wellPath = proj->wellPathByName( m_wellName );
|
||||||
|
|
||||||
std::vector<double> derivedMdValues;
|
|
||||||
if ( wellPath )
|
if ( wellPath )
|
||||||
{
|
{
|
||||||
const std::vector<double>& mdValuesOfWellPath = wellPath->wellPathGeometry()->measureDepths();
|
const std::vector<double>& mdValuesOfWellPath = wellPath->wellPathGeometry()->measureDepths();
|
||||||
std::vector<double> tvdValuesOfWellPath = wellPath->wellPathGeometry()->trueVerticalDepths();
|
const std::vector<double>& tvdValuesOfWellPath = wellPath->wellPathGeometry()->trueVerticalDepths();
|
||||||
|
|
||||||
derivedMdValues =
|
derivedMDValues =
|
||||||
RigWellPathGeometryTools::interpolateMdFromTvd( mdValuesOfWellPath, tvdValuesOfWellPath, tvDepthValues );
|
RigWellPathGeometryTools::interpolateMdFromTvd( mdValuesOfWellPath, tvdValuesOfWellPath, tvDepthValues );
|
||||||
CVF_ASSERT( derivedMdValues.size() == tvDepthValues.size() );
|
CVF_ASSERT( derivedMDValues.size() == tvDepthValues.size() );
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user