#3603 Export completions. Move export CARFIN into RicWellPathExportCompletionDataFeatureImpl

This commit is contained in:
Magne Sjaastad
2018-11-09 09:40:30 +01:00
parent 8eead5c2f7
commit 0a9f00248b
3 changed files with 25 additions and 12 deletions

View File

@@ -136,16 +136,6 @@ void RicWellPathExportCompletionDataFeature::prepareExportSettingsAndExportCompl
RiaApplication::instance()->setLastUsedDialogDirectory("COMPLETIONS", exportSettings->folder);
RicWellPathExportCompletionDataFeatureImpl::exportCompletions(wellPaths, simWells, *exportSettings);
const auto mainGrid = exportSettings->caseToApply->mainGrid();
if (!mainGrid) return;
const auto& lgrInfosForWells = RicExportLgrFeature::createLgrInfoListForTemporaryLgrs(mainGrid);
for (const auto& lgrInfoForWell : lgrInfosForWells)
{
RicExportLgrFeature::exportLgrs(exportSettings->folder, lgrInfoForWell.first, lgrInfoForWell.second);
}
}
}