ACTIONX will handle WLIST well arguments
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include <map>
|
||||
|
||||
#include <opm/parser/eclipse/EclipseState/Schedule/SummaryState.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Schedule/Well/WListManager.hpp>
|
||||
|
||||
namespace Opm {
|
||||
namespace Action {
|
||||
@@ -37,7 +38,7 @@ namespace Action {
|
||||
|
||||
class Context {
|
||||
public:
|
||||
explicit Context(const SummaryState& summary_state);
|
||||
explicit Context(const SummaryState& summary_state, const WListManager& wlm);
|
||||
|
||||
/*
|
||||
The get methods will first check the internal storage in the 'values' map
|
||||
@@ -50,9 +51,11 @@ public:
|
||||
void add(const std::string& func, double value);
|
||||
|
||||
std::vector<std::string> wells(const std::string& func) const;
|
||||
const WListManager& wlist_manager() const;
|
||||
|
||||
private:
|
||||
const SummaryState& summary_state;
|
||||
const WListManager& wlm;
|
||||
std::map<std::string, double> values;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user