mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-11 07:56:08 -06:00
#3183 Fix errors in regular fishbones completion output for LGR grids following MSW fracture work.
This commit is contained in:
parent
1d4fef5a8b
commit
3f6185ae3d
@ -91,7 +91,7 @@ void RicFishbonesTransmissibilityCalculationFeatureImp::findFishboneLateralsWell
|
||||
wellBorePart.intersectionWithWellMeasuredDepth = location.measuredDepth();
|
||||
wellBorePart.lateralIndex = lateral.lateralIndex();
|
||||
|
||||
wellBorePartsInCells[intersection.gridLocalCellIndex()].push_back(wellBorePart);
|
||||
wellBorePartsInCells[intersection.globalCellIndex()].push_back(wellBorePart);
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ RicWellSegmentLateralIntersection::RicWellSegmentLateralIntersection(const QStri
|
||||
double deltaTVD,
|
||||
const cvf::Vec3d& lengthsInCell)
|
||||
: m_gridName(gridName)
|
||||
, m_gridLocalCellIndex(gridLocalCellIndex)
|
||||
, m_globalCellIndex(gridLocalCellIndex)
|
||||
, m_gridLocalCellIJK(gridLocalCellIJK)
|
||||
, m_startMD(startMD)
|
||||
, m_deltaMD(deltaMD)
|
||||
@ -42,9 +42,9 @@ const QString& RicWellSegmentLateralIntersection::gridName() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
size_t RicWellSegmentLateralIntersection::gridLocalCellIndex() const
|
||||
size_t RicWellSegmentLateralIntersection::globalCellIndex() const
|
||||
{
|
||||
return m_gridLocalCellIndex;
|
||||
return m_globalCellIndex;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -35,7 +35,7 @@ class RicWellSegmentLateralIntersection
|
||||
{
|
||||
public:
|
||||
RicWellSegmentLateralIntersection(const QString& gridName, // Pass in empty string for main grid
|
||||
size_t gridLocalCellIndex,
|
||||
size_t globalCellIndex,
|
||||
const cvf::Vec3st& gridLocalCellIJK,
|
||||
double startMD,
|
||||
double deltaMD,
|
||||
@ -44,7 +44,7 @@ public:
|
||||
const cvf::Vec3d& lengthsInCell);
|
||||
|
||||
const QString& gridName() const;
|
||||
size_t gridLocalCellIndex() const;
|
||||
size_t globalCellIndex() const;
|
||||
cvf::Vec3st gridLocalCellIJK() const;
|
||||
double startMD() const;
|
||||
double deltaMD() const;
|
||||
@ -62,7 +62,7 @@ public:
|
||||
|
||||
private:
|
||||
QString m_gridName;
|
||||
size_t m_gridLocalCellIndex;
|
||||
size_t m_globalCellIndex;
|
||||
cvf::Vec3st m_gridLocalCellIJK;
|
||||
double m_startMD;
|
||||
double m_deltaMD;
|
||||
|
@ -1308,7 +1308,7 @@ void RicWellPathExportCompletionDataFeatureImpl::assignLateralIntersections(cons
|
||||
localGrid->ijkFromCellIndex(localGridIdx, &i, &j, &k);
|
||||
|
||||
RicWellSegmentLateralIntersection lateralIntersection(gridName,
|
||||
localGridIdx,
|
||||
cellIntInfo.globCellIndex,
|
||||
cvf::Vec3st(i, j, k),
|
||||
previousExitMD,
|
||||
cellIntInfo.endMD - previousExitMD,
|
||||
|
Loading…
Reference in New Issue
Block a user