20 #ifndef RST_NETWORK_HPP 21 #define RST_NETWORK_HPP 32 namespace Opm {
namespace EclIO {
33 class RestartFileView;
36 namespace Opm {
namespace RestartIO {
72 explicit RstNetwork(std::shared_ptr<EclIO::RestartFileView> rstView,
75 bool isActive()
const;
77 const std::vector<Branch>& branches()
const 79 return this->branches_;
82 const std::vector<Node>& nodes()
const 88 std::vector<Branch> branches_{};
89 std::vector<Node> nodes_{};
94 #endif // RST_NETWORK_HPP Single node in extended network model.
Definition: network.hpp:55
Definition: network.hpp:38
int down
Downtree node. Index into 'nodes' array.
Definition: network.hpp:45
int vfp
One-based VFP table ID.
Definition: network.hpp:51
double pressure
Node pressure.
Definition: network.hpp:69
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:30
std::string name
Name of network node.
Definition: network.hpp:58
int up
Uptree node. Index into 'nodes' array.
Definition: network.hpp:48
Definition: UnitSystem.hpp:34
std::optional< double > terminal_pressure
Fixed pressure for terminal node. Nullopt if not terminal.
Definition: network.hpp:61
std::optional< std::string > as_choke
Group whose rate target the choking mechanism attempts to match.
Definition: network.hpp:66
Single branch in extended network model.
Definition: network.hpp:42