Add UDQVartype member to assignment and expression

This commit is contained in:
Joakim Hove
2019-02-21 12:32:14 +01:00
parent b5542c4e56
commit 19988494c0
4 changed files with 12 additions and 21 deletions

View File

@@ -25,6 +25,7 @@
#include <vector>
#include <opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQWellSet.hpp>
#include <opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQEnums.hpp>
namespace Opm {
@@ -37,6 +38,7 @@ public:
UDQWellSet eval_wells(const std::vector<std::string>& wells) const;
private:
std::string m_keyword;
UDQVarType m_var_type;
std::vector<std::string> m_selector;
double m_value;
};

View File

@@ -24,6 +24,7 @@
#include <vector>
#include <opm/parser/eclipse/Deck/DeckRecord.hpp>
#include <opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQEnums.hpp>
namespace Opm {
@@ -42,6 +43,7 @@ namespace Opm {
private:
UDQAction m_action;
std::string m_keyword;
UDQVarType m_var_type;
std::vector<std::string> data;
};
}