#2099 #2101 (partly) PLT plot. Well path/well name matching issues. Display only wells with well path

This commit is contained in:
Bjørn Erik Jensen
2017-11-08 16:35:58 +01:00
parent 1321b0d754
commit 95a5085ba0
5 changed files with 129 additions and 95 deletions

View File

@@ -65,12 +65,12 @@ class RimWellPltPlot : public RimViewWindow
enum FlowType { FLOW_TYPE_TOTAL, FLOW_TYPE_PHASE_SPLIT };
enum FlowPhase { PHASE_NONE, PHASE_OIL, PHASE_GAS, PHASE_WATER, PHASE_TOTAL };
static const QString OIL_CHANNEL_NAME;
static const QString GAS_CHANNEL_NAME;
static const QString WATER_CHANNEL_NAME;
static const QString TOTAL_CHANNEL_NAME;
static const std::set<QString> OIL_CHANNEL_NAMES;
static const std::set<QString> GAS_CHANNEL_NAMES;
static const std::set<QString> WATER_CHANNEL_NAMES;
static const std::set<QString> TOTAL_CHANNEL_NAMES;
static const std::set<QString> FLOW_DATA_NAMES;
static std::set<QString> FLOW_DATA_NAMES;
static const char PLOT_NAME_QFORMAT_STRING[];
public:
@@ -123,7 +123,7 @@ private:
const std::map<QDateTime, std::set<RifWellRftAddress>>& timeStepsToAdd);
void updateTimeStepsToAddresses(const std::vector<RifWellRftAddress>& addressesToKeep);
void calculateValueOptionsForWells(QList<caf::PdmOptionItemInfo>& options);
void calculateValueOptionsForTimeSteps(const QString& wellName, QList<caf::PdmOptionItemInfo>& options);
void calculateValueOptionsForTimeSteps(const QString& wellPathNameOrSimWellName, QList<caf::PdmOptionItemInfo>& options);
void updateWidgetTitleWindowTitle();
@@ -177,7 +177,7 @@ private:
caf::PdmField<bool> m_showPlotTitle;
caf::PdmField<QString> m_userName;
caf::PdmField<QString> m_wellName;
caf::PdmField<QString> m_wellPathName;
caf::PdmField<int> m_branchIndex;
caf::PdmField<std::vector<RifWellRftAddress>> m_selectedSources;