mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add support for estimating md from well path as well
This commit is contained in:
@@ -408,3 +408,16 @@ const std::vector<double>& RigWellPath::measureDepths() const
|
||||
return m_measuredDepths;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<double> RigWellPath::trueVerticalDepths() const
|
||||
{
|
||||
std::vector<double> tvds;
|
||||
for (const cvf::Vec3d& point : m_wellPathPoints)
|
||||
{
|
||||
tvds.push_back(std::fabs(point.z()));
|
||||
}
|
||||
return tvds;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user