38 WListManager() =
default;
40 static WListManager serializationTestObject();
42 std::size_t WListSize()
const;
54 bool hasWell(
const std::string& pattern)
const;
56 bool hasList(
const std::string&)
const;
57 WList& getList(
const std::string& name);
58 const WList& getList(
const std::string& name)
const;
59 WList& newList(
const std::string& name,
const std::vector<std::string>& wname);
61 const std::vector<std::string>& getWListNames(
const std::string& wname)
const;
62 std::size_t getNoWListsWell(
const std::string& wname)
const;
63 bool hasWList(
const std::string& wname)
const;
64 void addWListWell(
const std::string& wname,
const std::string& wlname);
65 void addOrCreateWellList(
const std::string& wlname,
const std::vector<std::string>& wnames);
66 void delWell(
const std::string& wname);
67 void delWListWell(
const std::string& wname,
const std::string& wlname);
69 bool operator==(
const WListManager& data)
const;
70 std::vector<std::string> wells(
const std::string& wlist_pattern)
const;
71 template<
class Serializer>
75 serializer(well_wlist_names);
76 serializer(no_wlists_well);
80 std::map<std::string, WList> wlists;
81 std::map<std::string, std::vector<std::string>> well_wlist_names;
82 std::map<std::string, std::size_t> no_wlists_well;
95 void resetExistingWList(
const std::string& wlistName,
96 const std::vector<std::string>& newWells);
104 void clearExistingWList(
const std::string& wlistName);
115 void createNewWList(
const std::string& wlistName,
116 const std::vector<std::string>& newWells);
bool hasWell(const std::string &pattern) const
Whether or not one or more wells matching a well list name or well list template exists.
Definition WListManager.cpp:57
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30