mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
#11385 Add exclude list used during identification of category results
This commit is contained in:
1 parent
b78cc23add
commit
534348c1a0
1 file changed
+4
@@ -102,6 +102,10 @@ bool RiaResultNames::isFlowResultWithBothPosAndNegValues( const QString& resultN
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
bool RiaResultNames::isCategoryResult( const QString& resultName )
|
bool RiaResultNames::isCategoryResult( const QString& resultName )
|
||||||
{
|
{
|
||||||
|
static std::set<QString> excludedResultNames = { "FIPOIL", "FIPGAS", "FIPWAT" };
|
||||||
|
|
||||||
|
if ( excludedResultNames.find( resultName.toUpper() ) != excludedResultNames.end() ) return false;
|
||||||
|
|
||||||
if ( resultName.endsWith( "NUM", Qt::CaseInsensitive ) ) return true;
|
if ( resultName.endsWith( "NUM", Qt::CaseInsensitive ) ) return true;
|
||||||
if ( resultName.startsWith( "FIP", Qt::CaseInsensitive ) ) return true;
|
if ( resultName.startsWith( "FIP", Qt::CaseInsensitive ) ) return true;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user