53 std::function<std::unique_ptr<SegmentMatcher>()> segments{};
54 std::function<std::unique_ptr<RegionSetMatcher>()> regions{};
59 const std::unordered_map<std::string, UDT>& tables,
64 std::optional<double> get(
const std::string& key)
const;
67 get_well_var(
const std::string& well,
const std::string& var)
const;
70 get_group_var(
const std::string& group,
const std::string& var)
const;
73 get_segment_var(
const std::string& well,
74 const std::string& var,
75 std::size_t segment)
const;
78 get_region_var(
const std::string& regSet,
79 const std::string& var,
80 std::size_t region)
const;
82 const UDT& get_udt(
const std::string& name)
const;
84 void add(
const std::string& key,
double value);
85 void update_assign(
const std::string& keyword,
const UDQSet& udq_result);
86 void update_define(std::size_t report_step,
87 const std::string& keyword,
92 std::vector<std::string> wells()
const;
93 std::vector<std::string> wells(
const std::string& pattern)
const;
94 std::vector<std::string> groups()
const;
95 SegmentSet segments()
const;
96 SegmentSet segments(
const std::vector<std::string>& set_descriptor)
const;
100 const std::vector<std::string>& set_descriptor)
const;
105 std::unique_ptr<SegmentMatcher> segments{};
106 std::unique_ptr<RegionSetMatcher> regions{};
109 const UDQFunctionTable& udqft;
110 const WellMatcher& well_matcher;
111 const std::unordered_map<std::string, UDT>& udt;
113 SummaryState& summary_state;
116 MatcherFactories create_matchers_{};
117 mutable Matchers matchers_{};
120 std::unordered_map<std::string, double> values;
122 void ensure_segment_matcher_exists()
const;
123 void ensure_region_matcher_exists()
const;
Definition UDQContext.hpp:49
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30
Definition UDQContext.hpp:52