#1847 Summary curves. Add new contructor to RifEclipseSummaryAddress

This commit is contained in:
Bjørn Erik Jensen
2017-09-13 16:30:55 +02:00
parent 46ddee749c
commit e5e28d70aa
2 changed files with 99 additions and 0 deletions

View File

@@ -18,6 +18,7 @@
#pragma once
#include <string>
#include <map>
//==================================================================================================
//
@@ -47,6 +48,18 @@ public:
SUMMARY_BLOCK_LGR,
};
enum SummaryIdentifierType
{
INPUT_REGION_NUMBER,
INPUT_REGION2_NUMBER,
INPUT_WELL_NAME,
INPUT_WELL_GROUP_NAME,
INPUT_CELL_IJK,
INPUT_LGR_NAME,
INPUT_SEGMENT_NUMBER,
INPUT_VECTOR_NAME
};
public:
RifEclipseSummaryAddress():
@@ -85,6 +98,9 @@ public:
{
}
RifEclipseSummaryAddress(SummaryVarCategory category,
std::map<SummaryIdentifierType, std::string>& identifiers);
// Static specialized creation methods
static RifEclipseSummaryAddress fieldVarAddress(const std::string& fieldVarName);