mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-31 09:14:11 -05:00
Summary connections and completions (#12156)
* Add category WELL_CONNECTION * Throw exception if category string is invalid * Make it possible to step connections * Add definition of completion vectors * Use WELL_CONNECTION for CPRL * Convert "WGPRL__2:MY-WELL1-A5" to "WGPRL:MY-WELL1-A5:2" Use the syntax for well completions in opm-common * More tests for different variants of summary texts
This commit is contained in:
1 parent
ad310714c2
commit
865fbf0cba
42 files changed
+1410
-729
No files matched your search
@@ -78,11 +78,18 @@ QString RimSummaryNameHelper::aggregatedPlotTitle( const RimSummaryNameHelper& o
|
||||
title += "Segment : " + QString::fromStdString( segment );
|
||||
}
|
||||
|
||||
auto completion = titleCompletion();
|
||||
if ( !other.isCompletionInTitle() && !completion.empty() )
|
||||
auto wellCompletion = titleWellCompletion();
|
||||
if ( !other.isWellCompletionInTitle() && !wellCompletion.empty() )
|
||||
{
|
||||
if ( !title.isEmpty() ) title += ", ";
|
||||
title += "Completion : " + QString::fromStdString( completion );
|
||||
title += "Well Completion : " + QString::fromStdString( wellCompletion );
|
||||
}
|
||||
|
||||
auto connection = titleConnection();
|
||||
if ( !other.isConnectionInTitle() && !connection.empty() )
|
||||
{
|
||||
if ( !title.isEmpty() ) title += ", ";
|
||||
title += "Connection : " + QString::fromStdString( connection );
|
||||
}
|
||||
|
||||
auto vectorName = titleVectorName();
|
||||
|
||||
Reference in new issue
Block a user