#1495 Add 'Completions' folder to RimWellPath

Move perforation intervals into folder
Move fishbone definitions and fishbone well paths into folder
This commit is contained in:
Magne Sjaastad
2017-05-19 15:44:32 +02:00
parent 1853f97bbc
commit 5ec2764c16
18 changed files with 218 additions and 67 deletions

View File

@@ -24,6 +24,7 @@
#include "RimProject.h"
#include "RimWellPath.h"
#include "RimFishbonesMultipleSubs.h"
#include "RimFishbonesCollection.h"
#include "RimExportCompletionDataSettings.h"
#include "RiuMainWindow.h"
@@ -161,7 +162,7 @@ void RicWellPathExportCompletionDataFeature::exportToFolder(RimWellPath* wellPat
formatter.keyword("COMPDAT");
formatter.header(header);
for (RimFishbonesMultipleSubs* subs : wellPath->fishbonesSubs)
for (RimFishbonesMultipleSubs* subs : wellPath->fishbonesCollection()->fishbonesSubs())
{
for (size_t subIndex = 0; subIndex < subs->locationOfSubs().size(); ++subIndex)
{
@@ -605,7 +606,7 @@ void RicWellPathExportCompletionDataFeature::filterIntersections(std::vector<Hex
std::vector<WellSegmentLocation> RicWellPathExportCompletionDataFeature::findWellSegmentLocations(RimWellPath* wellPath)
{
std::vector<WellSegmentLocation> wellSegmentLocations;
for (RimFishbonesMultipleSubs* subs : wellPath->fishbonesSubs)
for (RimFishbonesMultipleSubs* subs : wellPath->fishbonesCollection()->fishbonesSubs())
{
for (size_t subIndex = 0; subIndex < subs->locationOfSubs().size(); ++subIndex)
{