40 static std::string RFT2String(
const RFT enumValue);
41 static RFT RFTFromString(
const std::string &stringValue);
49 static std::string PLT2String(
const PLT enumValue);
50 static PLT PLTFromString(
const std::string& stringValue);
52 void first_open(
bool on);
53 void update(
const std::string& wname,
const PLT mode);
54 void update(
const std::string& wname,
const RFT mode);
55 void update_segment(
const std::string& wname,
const PLT mode);
60 bool rft(
const std::string& wname)
const;
63 bool plt(
const std::string& wname)
const;
66 bool segment(
const std::string& wname)
const;
68 std::optional<RFTConfig> next()
const;
69 std::optional<RFTConfig> well_open(
const std::string& wname)
const;
71 static RFTConfig serializationTestObject();
72 bool operator==(
const RFTConfig& data)
const;
74 template <
class Serializer>
77 serializer(this->first_open_rft);
78 serializer(this->rft_state);
79 serializer(this->plt_state);
80 serializer(this->seg_state);
81 serializer(this->open_wells);
85 template <
typename Kind>
86 using StateMap = std::unordered_map<std::string, Kind>;
91 bool first_open_rft =
false;
92 StateMap<RFT> rft_state{};
93 StateMap<PLT> plt_state{};
94 StateMap<PLT> seg_state{};
95 std::unordered_map<std::string, bool> open_wells{};
97 void update_state(
const std::string& wname,
99 StateMap<PLT>& state);
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30