mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3266 Minor output adjustments to fracture MSW export
This commit is contained in:
parent
8e66ba405c
commit
742b7aab11
@ -556,6 +556,7 @@ void RicWellPathExportCompletionDataFeatureImpl::generateWelsegsTable(RifEclipse
|
|||||||
{
|
{
|
||||||
double prevMD = exportInfo.initialMD();
|
double prevMD = exportInfo.initialMD();
|
||||||
double prevTVD = exportInfo.initialTVD();
|
double prevTVD = exportInfo.initialTVD();
|
||||||
|
formatter.comment("Main Stem Segments");
|
||||||
for (const RicMswSegment& location : exportInfo.wellSegmentLocations())
|
for (const RicMswSegment& location : exportInfo.wellSegmentLocations())
|
||||||
{
|
{
|
||||||
double depth = 0;
|
double depth = 0;
|
||||||
@ -571,12 +572,13 @@ void RicWellPathExportCompletionDataFeatureImpl::generateWelsegsTable(RifEclipse
|
|||||||
depth = location.endTVD();
|
depth = location.endTVD();
|
||||||
length = location.endMD();
|
length = location.endMD();
|
||||||
}
|
}
|
||||||
QString comment = location.label();
|
|
||||||
if (location.subIndex() != cvf::UNDEFINED_SIZE_T)
|
if (location.subIndex() != cvf::UNDEFINED_SIZE_T)
|
||||||
{
|
{
|
||||||
comment += QString(", sub %1").arg(location.subIndex());
|
QString comment = location.label() + QString(", sub %1").arg(location.subIndex());
|
||||||
|
formatter.comment(comment);
|
||||||
}
|
}
|
||||||
formatter.comment(comment);
|
|
||||||
formatter.add(location.segmentNumber()).add(location.segmentNumber());
|
formatter.add(location.segmentNumber()).add(location.segmentNumber());
|
||||||
formatter.add(1); // All segments on main stem are branch 1
|
formatter.add(1); // All segments on main stem are branch 1
|
||||||
formatter.add(location.segmentNumber() - 1); // All main stem segments are connected to the segment below them
|
formatter.add(location.segmentNumber() - 1); // All main stem segments are connected to the segment below them
|
||||||
@ -793,8 +795,10 @@ void RicWellPathExportCompletionDataFeatureImpl::generateCompsegTable(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (generatedHeader)
|
||||||
formatter.tableCompleted();
|
{
|
||||||
|
formatter.tableCompleted();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user