mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7678 Fishbones MSW : Make sure COMPSEGS is connected to ICD branch
Always connect open hole flow to an ICD, not the WELSEGS representing a well path lateral.
This commit is contained in:
parent
9ad8b6ce69
commit
460a387021
@ -537,8 +537,10 @@ void RicWellPathExportMswCompletionsImpl::generateFishbonesMswExportInfo(
|
||||
|
||||
for ( size_t intersectionIndex = 0; intersectionIndex < filteredIntersections.size(); intersectionIndex++ )
|
||||
{
|
||||
auto cellIntersection = filteredIntersections[intersectionIndex];
|
||||
if ( fishboneSectionStart <= cellIntersection.startMD && cellIntersection.startMD < fishboneSectionEnd )
|
||||
const auto& cellIntersection = filteredIntersections[intersectionIndex];
|
||||
if ( ( fishboneSectionEnd >= cellIntersection.startMD ) &&
|
||||
( fishboneSectionStart <= cellIntersection.endMD ) )
|
||||
|
||||
{
|
||||
double intersectionMidpoint = 0.5 * ( cellIntersection.startMD + cellIntersection.endMD );
|
||||
size_t closestSubIndex = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user