From 1d3bc6887e68760b5c6d065925e3c3e9335fc013 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Wed, 11 Apr 2018 14:27:32 +0200 Subject: [PATCH] #2709 Export of COMPDAT : Always export diameter --- ...icWellPathExportCompletionDataFeatureImpl.cpp | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportCompletionDataFeatureImpl.cpp b/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportCompletionDataFeatureImpl.cpp index ad6690d1d0..78c8f8e12a 100644 --- a/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportCompletionDataFeatureImpl.cpp +++ b/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportCompletionDataFeatureImpl.cpp @@ -772,16 +772,14 @@ void RicWellPathExportCompletionDataFeatureImpl::generateCompdatTable(RifEclipse { formatter.add(data.transmissibility()); - // Based on feedback from Shunping - // Include diameter when COMPDATL is exported + // Based on feedback from Shunping for COMPDATL, hhgs required COMPDAT + // Always include diameter // See https://github.com/OPM/ResInsight/issues/2517 - if (!gridName.isEmpty()) - { - if (RigCompletionData::isDefaultValue(data.diameter())) - formatter.add("1*"); - else - formatter.add(data.diameter()); - } + // See https://github.com/OPM/ResInsight/issues/2709 + if (RigCompletionData::isDefaultValue(data.diameter())) + formatter.add("1*"); + else + formatter.add(data.diameter()); } formatter.rowCompleted();