48 using SegmentMatcherFactory = std::function<std::unique_ptr<SegmentMatcher>()>;
52 SegmentMatcherFactory create_segment_matcher,
56 std::optional<double> get(
const std::string& key)
const;
57 std::optional<double> get_well_var(
const std::string& well,
const std::string& var)
const;
58 std::optional<double> get_group_var(
const std::string& group,
const std::string& var)
const;
59 std::optional<double> get_segment_var(
const std::string& well,
const std::string& var, std::size_t segment)
const;
61 void add(
const std::string& key,
double value);
62 void update_assign(
const std::string& keyword,
const UDQSet& udq_result);
63 void update_define(std::size_t report_step,
const std::string& keyword,
const UDQSet& udq_result);
67 std::vector<std::string> wells()
const;
68 std::vector<std::string> wells(
const std::string& pattern)
const;
69 std::vector<std::string> groups()
const;
70 SegmentSet segments()
const;
71 SegmentSet segments(
const std::vector<std::string>& set_descriptor)
const;
77 SegmentMatcherFactory create_segment_matcher;
78 mutable std::unique_ptr<SegmentMatcher> segment_matcher;
83 std::unordered_map<std::string, double> values;
85 void ensure_segment_matcher_exists()
const;
Definition UDQContext.hpp:46
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30