My Project
Loading...
Searching...
No Matches
network.hpp
1/*
2 Copyright (c) 2018 Equinor ASA
3
4 This file is part of the Open Porous Media project (OPM).
5
6 OPM is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 OPM is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with OPM. If not, see <http://www.gnu.org/licenses/>.
18*/
19
20#ifndef OPM_OUTPUT_ECLIPSE_VECTOR_NETWORK_HPP
21#define OPM_OUTPUT_ECLIPSE_VECTOR_NETWORK_HPP
22
23#include <vector>
24
25namespace Opm { namespace RestartIO { namespace Helpers { namespace VectorItems {
26
27
28
29 namespace INode {
30 enum index : std::vector<int>::size_type {
31 NoBranchesConnToNode = 0,
32 CumNoBranchesConnToNode = 1,
33 Group = 2,
34 FixedPresNode = 3,
35 };
36 }
37
38 namespace IBran {
39 enum index : std::vector<int>::size_type {
40 DownTreeNode = 0,
41 UpTreeNode = 1,
42 VfpTableNo = 2,
43 };
44 }
45
46 namespace RNode {
47 enum index : std::vector<double>::size_type {
48 NodePres = 0,
49 FixedPresNode = 1,
50 PressureLimit = 2,
51 };
52 }
53
54 namespace RBran {
55 enum index : std::vector<double>::size_type {
56 OilProdRate = 0,
57 WaterProdRate = 1,
58 GasProdRate = 2,
59 OilDensity = 8,
60 GasDensity = 9
61 };
62 }
63
64 namespace ZNode {
65 enum index : std::vector<const char*>::size_type {
66 NodeName = 0, // Node name
67 };
68 } // ZNode
69
70}}}} // Opm::RestartIO::Helpers::VectorItems
71
72#endif // OPM_OUTPUT_ECLIPSE_VECTOR_NETWORK_HPP
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30