#2451 Export Completion : Exclude main bore cells correctly

This commit is contained in:
Magne Sjaastad 2018-02-08 10:18:01 +01:00
parent 0dff40f658
commit 0843c3e464

View File

@ -80,7 +80,7 @@ std::vector<RigCompletionData> RicFishbonesTransmissibilityCalculationFeatureImp
std::map<size_t, std::vector<WellBorePartForTransCalc> > wellBorePartsInCells; //wellBore = main bore or fishbone lateral
findFishboneLateralsWellBoreParts(wellBorePartsInCells, wellPath, settings);
findFishboneImportedLateralsWellBoreParts(wellBorePartsInCells, wellPath, settings);
if (!wellBorePartsInCells.empty())
if (!wellBorePartsInCells.empty() && !settings.excludeMainBoreForFishbones)
{
findMainWellBoreParts(wellBorePartsInCells, wellPath, settings);
}