#5917 Export Completion: Use export name in comments

This commit is contained in:
Magne Sjaastad
2020-05-22 12:04:43 +02:00
parent 9c76935122
commit ff90ae5704
2 changed files with 4 additions and 3 deletions

View File

@@ -349,7 +349,7 @@ void RicFishbonesTransmissibilityCalculationFeatureImp::appendMainWellBoreParts(
for ( const auto& cellIntersectionInfo : intersectedCellsIntersectionInfo ) for ( const auto& cellIntersectionInfo : intersectedCellsIntersectionInfo )
{ {
QString completionMetaData = wellPath->name() + " main bore"; QString completionMetaData = wellPath->completions()->wellNameForExport() + " main bore";
WellBorePartForTransCalc wellBorePart = WellBorePartForTransCalc( cellIntersectionInfo.intersectionLengthsInCellCS, WellBorePartForTransCalc wellBorePart = WellBorePartForTransCalc( cellIntersectionInfo.intersectionLengthsInCellCS,
holeRadius, holeRadius,
skinFactor, skinFactor,

View File

@@ -40,6 +40,7 @@
#include "RimTools.h" #include "RimTools.h"
#include "RimWellPath.h" #include "RimWellPath.h"
#include "RimWellPathCollection.h" #include "RimWellPathCollection.h"
#include "RimWellPathCompletions.h"
#include "RimWellPathFracture.h" #include "RimWellPathFracture.h"
#include "RimWellPathFractureCollection.h" #include "RimWellPathFractureCollection.h"
@@ -252,7 +253,7 @@ QString RicWellPathFractureTextReportFeatureImpl::createWellFileLocationText( co
auto fileWellPath = dynamic_cast<RimFileWellPath*>( wellPath ); auto fileWellPath = dynamic_cast<RimFileWellPath*>( wellPath );
if ( fileWellPath ) if ( fileWellPath )
{ {
formatter.add( wellPath->name() ); formatter.add( wellPath->completions()->wellNameForExport() );
formatter.add( fileWellPath->filePath() ); formatter.add( fileWellPath->filePath() );
formatter.rowCompleted(); formatter.rowCompleted();
} }
@@ -563,7 +564,7 @@ QString RicWellPathFractureTextReportFeatureImpl::createFractureInstancesText(
fracture->firstAncestorOrThisOfType( wellPath ); fracture->firstAncestorOrThisOfType( wellPath );
if ( wellPath ) if ( wellPath )
{ {
wellName = wellPath->name(); wellName = wellPath->completions()->wellNameForExport();
} }
formatter.add( wellName ); formatter.add( wellName );