#3244 Completion type. Fishbones checked state taken into account

This commit is contained in:
Bjørn Erik Jensen committed 2018-08-27 12:59:10 +02:00
1 parent 92bcae2805
commit 9529142a30
1 file changed
+17 -11
@@ -204,18 +204,24 @@ void RicFishbonesTransmissibilityCalculationFeatureImp::findFishboneLateralsWell
// Note that it is not supported to export main bore perforation intervals for Imported Laterals, only for fishbones
// defined by ResInsight
double holeRadius = wellPath->fishbonesCollection()->mainBoreDiameter(unitSystem) / 2.0;
double skinFactor = wellPath->fishbonesCollection()->mainBoreSkinFactor();
for (const auto& fishboneDefinition : wellPath->fishbonesCollection()->fishbonesSubs())
if (wellPath->fishbonesCollection()->isChecked())
{
appendMainWellBoreParts(wellBorePartsInCells,
wellPath,
settings,
skinFactor,
holeRadius,
fishboneDefinition->startOfSubMD(),
fishboneDefinition->endOfSubMD());
double holeRadius = wellPath->fishbonesCollection()->mainBoreDiameter(unitSystem) / 2.0;
double skinFactor = wellPath->fishbonesCollection()->mainBoreSkinFactor();
for (const auto& fishboneDefinition : wellPath->fishbonesCollection()->fishbonesSubs())
{
if (fishboneDefinition->isActive())
{
appendMainWellBoreParts(wellBorePartsInCells,
wellPath,
settings,
skinFactor,
holeRadius,
fishboneDefinition->startOfSubMD(),
fishboneDefinition->endOfSubMD());
}
}
}
}
}