mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
#3851 Just one ICV per completion, not one per segment.
This commit is contained in:
1 parent
fff70bb9f6
commit
a9f70a13b3
9 files changed
+362
-159
No files matched your search
@@ -102,6 +102,30 @@ RigCompletionData& RigCompletionData::operator=(const RigCompletionData& other)
|
||||
return *this;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RigCompletionData::isPerforationValve(CompletionType type)
|
||||
{
|
||||
return type == PERFORATION_AICD || type == PERFORATION_ICD || type == PERFORATION_ICV;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RigCompletionData::isValve(CompletionType type)
|
||||
{
|
||||
return isPerforationValve(type) || type == FISHBONES_ICD;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RigCompletionData::isWsegValveTypes(CompletionType type)
|
||||
{
|
||||
return type == FISHBONES_ICD || type == PERFORATION_ICD || type == PERFORATION_ICV;
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
//==================================================================================================
|
||||
|
||||
@@ -69,6 +69,7 @@ public:
|
||||
FISHBONES_ICD,
|
||||
PERFORATION_ICD,
|
||||
PERFORATION_AICD,
|
||||
PERFORATION_ICV,
|
||||
CT_UNDEFINED
|
||||
};
|
||||
|
||||
@@ -80,6 +81,11 @@ public:
|
||||
bool operator<(const RigCompletionData& other) const;
|
||||
RigCompletionData& operator=(const RigCompletionData& other);
|
||||
|
||||
|
||||
static bool isPerforationValve(CompletionType type);
|
||||
static bool isValve(CompletionType type);
|
||||
static bool isWsegValveTypes(CompletionType type);
|
||||
|
||||
void setFromFracture(double transmissibility, double skinFactor, double diameter);
|
||||
void setSecondOrderingValue(double orderingValue);
|
||||
void setDiameter(double diameter);
|
||||
|
||||
Reference in new issue
Block a user