#13316 Custom MSW well segment definitions

This commit is contained in:
Kristian Bendiksen committed 2025-12-17 16:34:04 +01:00
1 parent 7768e8c9c9
commit da48c78b02
17 files changed
+1434 -103

No files matched your search

@@ -119,8 +119,15 @@ std::expected<RigMswTableData, std::string> RicWellPathExportMswTableData::extra
// Create table data container and extract data
RigMswTableData tableData( wellPath->completionSettings()->wellNameForExport().toStdString(), unitSystem );
// Extract custom segment intervals from MSW parameters
std::vector<std::pair<double, double>> customSegmentIntervals = mswParameters->getSegmentIntervals();
// Use the new collection functions to populate the table data
RicMswTableDataTools::collectWelsegsData( tableData, exportInfo, mswParameters->maxSegmentLength(), exportCompletionsAfterMainBoreSegments );
RicMswTableDataTools::collectWelsegsData( tableData,
exportInfo,
mswParameters->maxSegmentLength(),
customSegmentIntervals,
exportCompletionsAfterMainBoreSegments );
{
// Get COMPSEGS for main grid