20#ifndef RST_NETWORK_HPP
21#define RST_NETWORK_HPP
32namespace Opm {
namespace EclIO {
33 class RestartFileView;
36namespace 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_{};
Definition network.hpp:39
Definition UnitSystem.hpp:34
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30
Single branch in extended network model.
Definition network.hpp:43
int down
Downtree node. Index into 'nodes' array.
Definition network.hpp:45
int up
Uptree node. Index into 'nodes' array.
Definition network.hpp:48
int vfp
One-based VFP table ID.
Definition network.hpp:51
Single node in extended network model.
Definition network.hpp:56
double pressure
Node pressure.
Definition network.hpp:69
std::optional< std::string > as_choke
Group whose rate target the choking mechanism attempts to match.
Definition network.hpp:66
std::optional< double > terminal_pressure
Fixed pressure for terminal node. Nullopt if not terminal.
Definition network.hpp:61
std::string name
Name of network node.
Definition network.hpp:58