mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2022 Curve Calculator : Add enum Calculated
This commit is contained in:
@@ -103,6 +103,18 @@ RifEclipseSummaryAddress RifEclipseSummaryAddress::fieldVarAddress(const std::st
|
||||
return fieldAddr;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RifEclipseSummaryAddress RifEclipseSummaryAddress::calculatedCurveAddress(const std::string& curveName)
|
||||
{
|
||||
RifEclipseSummaryAddress fieldAddr;
|
||||
fieldAddr.m_variableCategory = SUMMARY_CALCULATED;
|
||||
fieldAddr.m_quantityName = curveName;
|
||||
|
||||
return fieldAddr;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -45,7 +45,8 @@ public:
|
||||
SUMMARY_WELL_COMPLETION_LGR,
|
||||
SUMMARY_WELL_SEGMENT,
|
||||
SUMMARY_BLOCK,
|
||||
SUMMARY_BLOCK_LGR,
|
||||
SUMMARY_BLOCK_LGR,
|
||||
SUMMARY_CALCULATED
|
||||
};
|
||||
|
||||
enum SummaryIdentifierType
|
||||
@@ -104,6 +105,7 @@ public:
|
||||
// Static specialized creation methods
|
||||
|
||||
static RifEclipseSummaryAddress fieldVarAddress(const std::string& fieldVarName);
|
||||
static RifEclipseSummaryAddress calculatedCurveAddress(const std::string& curveName);
|
||||
|
||||
// Access methods
|
||||
|
||||
|
||||
Reference in New Issue
Block a user