#2868 Completion Type : Compute completion type based on virtual connection factors

This commit is contained in:
Magne Sjaastad
2018-05-08 14:21:16 +02:00
parent 9e6e2e8735
commit 9bb8f36052
5 changed files with 129 additions and 16 deletions

View File

@@ -2254,12 +2254,7 @@ void RigCaseCellResultsData::computeCompletionTypeForTimeStep(size_t timeStep)
if (!eclipseCase) return;
RimProject* project;
eclipseCase->firstAncestorOrThisOfTypeAsserted(project);
QDateTime timeStepDate = this->timeStepDates()[timeStep];
RimCompletionCellIntersectionCalc::calculateCompletionTypeResult(project, eclipseCase, completionTypeResult, timeStepDate);
RimCompletionCellIntersectionCalc::calculateCompletionTypeResult(eclipseCase, completionTypeResult, timeStep);
}