54 std::function<std::unique_ptr<SegmentMatcher>()> segments{};
55 std::function<std::unique_ptr<RegionSetMatcher>()> regions{};
59 const WellMatcher& wm,
61 const std::unordered_map<std::string, UDT>& tables,
66 std::optional<double> get(
const std::string& key)
const;
69 get_well_var(
const std::string& well,
const std::string& var)
const;
72 get_group_var(
const std::string& group,
const std::string& var)
const;
75 get_segment_var(
const std::string& well,
76 const std::string& var,
77 std::size_t segment)
const;
80 get_region_var(
const std::string& regSet,
81 const std::string& var,
82 std::size_t region)
const;
84 const UDT& get_udt(
const std::string& name)
const;
86 void add(
const std::string& key,
double value);
87 void update_assign(
const std::string& keyword,
const UDQSet& udq_result);
88 void update_define(std::size_t report_step,
89 const std::string& keyword,
94 const std::vector<std::string>& wells()
const;
95 std::vector<std::string> wells(
const std::string& pattern)
const;
96 std::vector<std::string> nonFieldGroups()
const;
97 std::vector<std::string> groups(
const std::string& pattern)
const;
98 SegmentSet segments()
const;
99 SegmentSet segments(
const std::vector<std::string>& set_descriptor)
const;
103 const std::vector<std::string>& set_descriptor)
const;
108 std::unique_ptr<SegmentMatcher> segments{};
109 std::unique_ptr<RegionSetMatcher> regions{};
112 const UDQFunctionTable& udqft;
113 const WellMatcher& well_matcher;
114 const GroupOrder& group_order_;
115 const std::unordered_map<std::string, UDT>& udt;
117 SummaryState& summary_state;
120 MatcherFactories create_matchers_{};
121 mutable Matchers matchers_{};
124 std::unordered_map<std::string, double> values;
126 void ensure_segment_matcher_exists()
const;
127 void ensure_region_matcher_exists()
const;
Definition UDQContext.hpp:50
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30
Definition UDQContext.hpp:53