#3034 Perforation Interval: Set default start/end to start/end of simulation

This commit is contained in:
Magne Sjaastad
2018-06-22 09:04:26 +02:00
parent 9e7dd7d4ea
commit 74ced5107f
4 changed files with 61 additions and 15 deletions

View File

@@ -89,7 +89,8 @@ void RicWellPathImportPerforationIntervalsFeature::onActionTriggered(bool isChec
perforationInterval->setSkinFactor(interval.skinFactor);
if (!interval.startOfHistory)
{
perforationInterval->setStartDate(interval.date);
perforationInterval->setCustomStartDate(interval.date);
perforationInterval->enableCustomStartDate(true);
}
wellPath->perforationIntervalCollection()->appendPerforation(perforationInterval);
lastPerforationInterval = perforationInterval;