#3482 Fix Eclipse property filter behaviour by reverting order of WellPathComponentType enum

This commit is contained in:
Gaute Lindkvist
2018-10-10 10:07:18 +02:00
parent 06f91a6762
commit fbe7561896
3 changed files with 29 additions and 7 deletions
@@ -77,6 +77,22 @@ namespace caf
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
std::vector<RiaDefines::WellPathComponentType> RiaDefines::wellPathCompletionTypes()
{
return { PERFORATION_INTERVAL, FISHBONES, FRACTURE, ICD, AICD, ICV };
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
std::vector<RiaDefines::WellPathComponentType> RiaDefines::wellPathAttributeTypes()
{
return { CASING, LINER, PACKER };
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
+8 -5
View File
@@ -41,19 +41,22 @@ namespace RiaDefines
};
enum WellPathComponentType {
// Well path construction features
// Production Tube
WELL_PATH,
CASING,
LINER,
PACKER,
// Well path flow completions
PERFORATION_INTERVAL,
FISHBONES,
FRACTURE,
ICD,
AICD,
ICV
ICV,
// Well path construction features
CASING,
LINER,
PACKER
};
std::vector<WellPathComponentType> wellPathCompletionTypes();
std::vector<WellPathComponentType> wellPathAttributeTypes();
bool isPerCellFaceResult(const QString& resultName);