mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#708) Fixed simulation well geometry and color mapping.
Had been sligtly off since 1.5.0.
This commit is contained in:
@@ -184,7 +184,7 @@ void RigSimulationWellCenterLineCalculator::calculateWellPipeCenterline(RimEclip
|
|||||||
|
|
||||||
cvf::Vec3d outOfPrevCell(centerPreviousCell);
|
cvf::Vec3d outOfPrevCell(centerPreviousCell);
|
||||||
|
|
||||||
//int intersectionOk = prevCell.firstIntersectionPoint(rayToThisCell, &outOfPrevCell);
|
int intersectionOk = prevCell.firstIntersectionPoint(rayToThisCell, &outOfPrevCell);
|
||||||
//CVF_ASSERT(intersectionOk);
|
//CVF_ASSERT(intersectionOk);
|
||||||
//CVF_ASSERT(intersectionOk);
|
//CVF_ASSERT(intersectionOk);
|
||||||
if ((currentPoint - outOfPrevCell).lengthSquared() > 1e-3)
|
if ((currentPoint - outOfPrevCell).lengthSquared() > 1e-3)
|
||||||
@@ -282,7 +282,7 @@ void RigSimulationWellCenterLineCalculator::calculateWellPipeCenterline(RimEclip
|
|||||||
cvf::Vec3d outOfPrevCell(centerPreviousCell);
|
cvf::Vec3d outOfPrevCell(centerPreviousCell);
|
||||||
|
|
||||||
const RigCell& prevCell = eclipseCaseData->cellFromWellResultCell(*prevWellResPoint);
|
const RigCell& prevCell = eclipseCaseData->cellFromWellResultCell(*prevWellResPoint);
|
||||||
//bool intersectionOk = prevCell.firstIntersectionPoint(rayToThisCell, &outOfPrevCell);
|
bool intersectionOk = prevCell.firstIntersectionPoint(rayToThisCell, &outOfPrevCell);
|
||||||
//CVF_ASSERT(intersectionOk);
|
//CVF_ASSERT(intersectionOk);
|
||||||
//CVF_ASSERT(intersectionOk);
|
//CVF_ASSERT(intersectionOk);
|
||||||
if ((intoThisCell - outOfPrevCell).lengthSquared() > 1e-3)
|
if ((intoThisCell - outOfPrevCell).lengthSquared() > 1e-3)
|
||||||
|
|||||||
Reference in New Issue
Block a user