#3527 Implement multiple ICD/AICDs for perforation intervals.

This commit is contained in:
Gaute Lindkvist
2018-10-19 14:44:17 +02:00
parent 43552fde88
commit 2194821609
11 changed files with 309 additions and 127 deletions

View File

@@ -29,8 +29,8 @@ void RicNewValveFeature::onActionTriggered(bool isChecked)
if (perfInterval)
{
RimWellPathValve* valve = new RimWellPathValve;
valve->setMeasuredDepth(perfInterval->startMD());
perfInterval->addValve(valve);
valve->setMeasuredDepthAndCount(perfInterval->startMD(), perfInterval->endMD() - perfInterval->startMD(), 1);
RimWellPathCollection* wellPathCollection = nullptr;
perfInterval->firstAncestorOrThisOfType(wellPathCollection);