Support networks with multiple fixed-pressure nodes
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <functional>
|
||||
|
||||
#include <opm/input/eclipse/Schedule/Network/Branch.hpp>
|
||||
#include <opm/input/eclipse/Schedule/Network/Node.hpp>
|
||||
@@ -45,7 +46,8 @@ public:
|
||||
bool has_node(const std::string& name) const;
|
||||
void update_node(Node node);
|
||||
const Node& node(const std::string& name) const;
|
||||
const Node& root() const;
|
||||
bool is_disconnected(const std::string& node) const;
|
||||
std::vector<std::reference_wrapper<const Node>> roots() const;
|
||||
std::vector<Branch> downtree_branches(const std::string& node) const;
|
||||
std::vector<const Branch*> branches() const;
|
||||
std::optional<Branch> uptree_branch(const std::string& node) const;
|
||||
|
||||
Reference in New Issue
Block a user