//-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- std::vector<const RigWellPath*> RimSimWellInView::wellPipeBranches() const { RimSimWellInViewCollection* simWellCollection = nullptr; this->firstAncestorOrThisOfTypeAsserted(simWellCollection); RimEclipseCase* eclipseCase = nullptr; this->firstAncestorOrThisOfTypeAsserted(eclipseCase); RigEclipseCaseData* caseData = eclipseCase->eclipseCaseData(); CVF_ASSERT(caseData); bool includeCellCenters = this->isUsingCellCenterForPipe(); bool detectBrances = simWellCollection->isAutoDetectingBranches; return caseData->simulationWellBranches(this->name(), includeCellCenters, detectBrances); }