My Project
logihead.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_LOGIHEAD_HPP
21 #define OPM_OUTPUT_ECLIPSE_VECTOR_LOGIHEAD_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/LogiHEAD.cpp .
28  // Promote items from that list to this in order to make them public.
29  enum logihead : std::vector<bool>::size_type {
30  IsLiveOil = 0, // Oil phase w/dissolved gas
31  IsWetGas = 1, // Gas phase w/vaporised oil
32  DirKr = 2, // Directional relative permeability
33  E100RevKr = 3, // Reversible rel. perm. (E100)
34  E100Radial = 4, // Radial model (E100)
35  E300Radial = 3, // Radial model (E300, others)
36  E300RevKr = 4, // Reversible rel. perm. (E300, others)
37  Hyster = 6, // Enable hysteresis
38  DualPoro = 14, // Enable dual porosity
39  EndScale = 16, // Enable end-point scaling
40  DirEPS = 17, // Directional end-point scaling
41  RevEPS = 18, // Reversible end-point scaling
42  AltEPS = 19, // Alternative (3-pt) end-point scaling
43  HasNetwork = 37, // Indicates Network option used
44  ConstCo = 38, // Constant oil compressibility (PVCDO)
45  HasMSWells = 75, // Whether or not model has MS Wells.
46  };
47 }}}} // Opm::RestartIO::Helpers::VectorItems
48 
49 #endif // OPM_OUTPUT_ECLIPSE_VECTOR_LOGIHEAD_HPP
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:29