io/eclipse/rst/group.hpp
Go to the documentation of this file.
1/*
2 Copyright 2020 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 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 OPM is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with OPM. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#ifndef RST_GROUP
20#define RST_GROUP
21
22#include <array>
23#include <vector>
24#include <string>
25
26namespace Opm {
27class UnitSystem;
28
29namespace RestartIO {
30
31struct RstHeader;
32
33struct RstGroup {
34 RstGroup(const UnitSystem& unit_system,
35 const RstHeader& header,
36 const std::string* zwel,
37 const int * igrp,
38 const float * sgrp,
39 const double * xgrp);
40
42
48
61
68 double wct;
69 double gor;
84};
85
86
87}
88}
89
90
91
92
93#endif
const char *const string
Definition: cJSON.h:170
Definition: UnitSystem.hpp:32
Definition: A.hpp:4
Definition: io/eclipse/rst/group.hpp:33
float gas_rate_limit
Definition: io/eclipse/rst/group.hpp:51
double history_total_water_production
Definition: io/eclipse/rst/group.hpp:80
double water_injection_rate
Definition: io/eclipse/rst/group.hpp:66
float water_rate_limit
Definition: io/eclipse/rst/group.hpp:50
double gas_production_total
Definition: io/eclipse/rst/group.hpp:72
float gas_reinject_limit
Definition: io/eclipse/rst/group.hpp:59
std::string name
Definition: io/eclipse/rst/group.hpp:41
int ginj_cmode
Definition: io/eclipse/rst/group.hpp:46
double wct
Definition: io/eclipse/rst/group.hpp:68
double liquid_production_rate
Definition: io/eclipse/rst/group.hpp:65
RstGroup(const UnitSystem &unit_system, const RstHeader &header, const std::string *zwel, const int *igrp, const float *sgrp, const double *xgrp)
double voidage_production_total
Definition: io/eclipse/rst/group.hpp:73
double history_total_water_injection
Definition: io/eclipse/rst/group.hpp:81
int parent_group
Definition: io/eclipse/rst/group.hpp:43
float liquid_rate_limit
Definition: io/eclipse/rst/group.hpp:52
double water_production_total
Definition: io/eclipse/rst/group.hpp:71
double history_total_gas_injection
Definition: io/eclipse/rst/group.hpp:83
float water_reservoir_limit
Definition: io/eclipse/rst/group.hpp:54
float gas_surface_limit
Definition: io/eclipse/rst/group.hpp:57
int prod_cmode
Definition: io/eclipse/rst/group.hpp:44
float gas_voidage_limit
Definition: io/eclipse/rst/group.hpp:60
double oil_production_potential
Definition: io/eclipse/rst/group.hpp:77
double gas_injection_total
Definition: io/eclipse/rst/group.hpp:75
float water_reinject_limit
Definition: io/eclipse/rst/group.hpp:55
int guide_rate_def
Definition: io/eclipse/rst/group.hpp:47
double oil_production_rate
Definition: io/eclipse/rst/group.hpp:62
double oil_production_total
Definition: io/eclipse/rst/group.hpp:70
double water_injection_total
Definition: io/eclipse/rst/group.hpp:74
double gas_production_rate
Definition: io/eclipse/rst/group.hpp:64
double voidage_injection_total
Definition: io/eclipse/rst/group.hpp:76
float water_voidage_limit
Definition: io/eclipse/rst/group.hpp:56
float water_surface_limit
Definition: io/eclipse/rst/group.hpp:53
double water_production_rate
Definition: io/eclipse/rst/group.hpp:63
float oil_rate_limit
Definition: io/eclipse/rst/group.hpp:49
double history_total_oil_production
Definition: io/eclipse/rst/group.hpp:79
double gor
Definition: io/eclipse/rst/group.hpp:69
double gas_injection_rate
Definition: io/eclipse/rst/group.hpp:67
double history_total_gas_production
Definition: io/eclipse/rst/group.hpp:82
float gas_reservoir_limit
Definition: io/eclipse/rst/group.hpp:58
double water_production_potential
Definition: io/eclipse/rst/group.hpp:78
int winj_cmode
Definition: io/eclipse/rst/group.hpp:45
Definition: header.hpp:31