My Project
Loading...
Searching...
No Matches
tabdims.hpp
1/*
2 Copyright (c) 2019 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_TABDIMS_HPP
21#define OPM_OUTPUT_ECLIPSE_VECTOR_TABDIMS_HPP
22
23#include <vector>
24
25namespace Opm { namespace RestartIO { namespace Helpers { namespace VectorItems {
26
27 namespace TabDims {
28 enum index : std::vector<int>::size_type {
29 // Number of elements in 'TAB' array
30 TabSize = 0,
31
32 // Oil PVT table
33 PvtoMainStart = 6,
34 PvtoCompStart = 7,
35 NumPvtoCompNodes = 8,
36 NumPvtoPressNodes = 9,
37 NumPvtoTables = 10,
38
39 // Water PVT table
40 PvtwStart = 11,
41 NumPvtwTables = 12,
42
43 // Gas PVT tables
44 PvtgMainStart = 13,
45 PvtgPressStart = 14,
46 NumPvtgCompNodes = 15,
47 NumPvtgPressNodes = 16,
48 NumPvtgTables = 17,
49
50 // Density tables
51 DensityTableStart = 18,
52 DensityNumTables = 19,
53
54 // SWFN tables
55 SwfnTableStart = 20,
56 SwfnNumSatNodes = 21,
57 SwfnNumTables = 22,
58
59 // SGFN tables
60 SgfnTableStart = 23,
61 SgfnNumSatNodes = 24,
62 SgfnNumTables = 25,
63
64 // SOFN tables
65 SofnTableStart = 26,
66 SofnNumSatNodes = 28,
67 SofnNumTables = 29,
68
69 // Size of TABDIMS array
70 TabDimsNumElems = 100,
71 };
72 } // namespace TabDims
73
74}}}} // namespace Opm::RestartIO::Helpers::VectorItems
75
76#endif // OPM_OUTPUT_ECLIPSE_VECTOR_TABDIMS_HPP
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30