19 #ifndef WLISTMANAGER_HPP
20 #define WLISTMANAGER_HPP
26 #include <opm/parser/eclipse/EclipseState/Schedule/Well/WList.hpp>
36 std::size_t WListSize()
const;
37 bool hasList(
const std::string&)
const;
38 WList& getList(
const std::string& name);
39 const WList& getList(
const std::string& name)
const;
40 WList& newList(
const std::string& name,
const std::vector<std::string>& wname);
42 const std::vector<std::string>& getWListNames(
const std::string& wname)
const;
43 std::size_t getNoWListsWell(std::string wname)
const;
44 bool hasWList(
const std::string& wname)
const;
45 void addWListWell(
const std::string& wname,
const std::string& wlname);
46 void delWell(
const std::string& wname);
47 void delWListWell(
const std::string& wname,
const std::string& wlname);
50 std::vector<std::string> wells(
const std::string& wlist_pattern)
const;
51 template<
class Serializer>
54 serializer.map(wlists);
55 serializer.template map<std::map<std::string, std::vector<std::string>>,
false>(well_wlist_names);
56 serializer.template map<std::map<std::string, std::size_t>,
false>(no_wlists_well);
60 std::map<std::string, WList> wlists;
61 std::map<std::string, std::vector<std::string>> well_wlist_names;
62 std::map<std::string, std::size_t> no_wlists_well;
Definition: Serializer.hpp:38
Definition: WListManager.hpp:30
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:29