My Project
doubhead.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_DOUBHEAD_HPP
21 #define OPM_OUTPUT_ECLIPSE_VECTOR_DOUBHEAD_HPP
22 
23 #include <vector>
24 
25 namespace Opm { namespace RestartIO { namespace Helpers { namespace VectorItems {
26 
27  // This is a subset of the items in src/opm/output/eclipse/DoubHEAD.cpp .
28  // Promote items from that list to this in order to make them public.
29  enum doubhead : std::vector<double>::size_type {
30  TsInit = 1, // Maximum Length of Next Timestep
31  TsMaxz = 2, // Maximum Length of Timestep After Next
32  TsMinz = 3, // Minumum Length of All Timesteps
33  TsMchp = 4,
34  TsFMax = 5,
35  TsFMin = 6,
36  TsFcnv = 7,
37  TrgTTE = 8,
38  TrgCNV = 9,
39  TrgMBE = 10,
40  TrgLCV = 11,
41  XxxTTE = 16,
42  XxxCNV = 17,
43  XxxMBE = 18,
44  XxxLCV = 19,
45  XxxWFL = 20,
46  TrgDPR = 82,
47  TfDiff = 83,
48  DdpLim = 84,
49  DdsLim = 85,
50  GRpar_a = 87, // Guiderate parameter A
51  GRpar_b = 88, // Guiderate parameter B
52  GRpar_c = 89, // Guiderate parameter C
53  GRpar_d = 90, // Guiderate parameter D
54  GRpar_e = 91, // Guiderate parameter E
55  GRpar_f = 92, // Guiderate parameter F
56  LOminInt = 93, // LIFTOP - Minimum interval between gas lift optimizations
57  LOincrsz = 95, // LIFTOPT - Increment size for lift gas injection rate
58  LOminEcGrad = 96, // LIFTOPT - Minimum economic gradient
59  GRpar_int = 97, // Guiderate parameter delay interval
60  ThrUPT = 99,
61  XxxDPR = 100,
62  TrgFIP = 101,
63  TrgSFT = 102,
64  GRpar_damp = 144, // Guiderate parameter damping factor
65  WsegRedFac = 145, // WSEGITER parameter (item 3) Reduction factor (F_R)
66  WsegIncFac = 146, // WSEGITER parameter (item 4) Increas factor (F_I)
67  UdqPar_2 = 212, // UDQPARAM item number 2 (Permitted range (+/-) of user-defined quantities)
68  UdqPar_3 = 213, // UDQPARAM item number 3 (Value given to undefined elements when outputting data)
69  UdqPar_4 = 214, // UDQPARAM item number 4 (fractional equality tolerance used in ==, <= etc. functions)
70  };
71 
72 }}}} // Opm::RestartIO::Helpers::VectorItems
73 
74 #endif // OPM_OUTPUT_ECLIPSE_VECTOR_DOUBHEAD_HPP
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:29