mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
This commit is contained in:
parent
6014312056
commit
fdaa25a286
@ -43,6 +43,9 @@ RigEclipseWellLogExtractor::RigEclipseWellLogExtractor(const RigCaseData* aCase,
|
|||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void RigEclipseWellLogExtractor::calculateIntersection()
|
void RigEclipseWellLogExtractor::calculateIntersection()
|
||||||
|
{
|
||||||
|
std::map<RigMDCellIdxEnterLeaveIntersectionSorterKey, HexIntersectionInfo > uniqueIntersections;
|
||||||
|
|
||||||
{
|
{
|
||||||
const std::vector<cvf::Vec3d>& nodeCoords = m_caseData->mainGrid()->nodes();
|
const std::vector<cvf::Vec3d>& nodeCoords = m_caseData->mainGrid()->nodes();
|
||||||
|
|
||||||
@ -50,7 +53,6 @@ void RigEclipseWellLogExtractor::calculateIntersection()
|
|||||||
|
|
||||||
if (!m_wellPath->m_wellPathPoints.size()) return ;
|
if (!m_wellPath->m_wellPathPoints.size()) return ;
|
||||||
|
|
||||||
std::map<RigMDCellIdxEnterLeaveIntersectionSorterKey, HexIntersectionInfo > uniqueIntersections;
|
|
||||||
|
|
||||||
for (size_t wpp = 0; wpp < m_wellPath->m_wellPathPoints.size() - 1; ++wpp)
|
for (size_t wpp = 0; wpp < m_wellPath->m_wellPathPoints.size() - 1; ++wpp)
|
||||||
{
|
{
|
||||||
@ -116,6 +118,7 @@ void RigEclipseWellLogExtractor::calculateIntersection()
|
|||||||
intersections[intIdx]));
|
intersections[intIdx]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
// For same MD and same cell, remove enter/leave pairs, as they only touches the wellpath, and should not contribute.
|
// For same MD and same cell, remove enter/leave pairs, as they only touches the wellpath, and should not contribute.
|
||||||
|
Loading…
Reference in New Issue
Block a user