PerforationData.hpp
Go to the documentation of this file.
1/*
2 Copyright 2019 SINTEF Digital, Mathematics and Cybernetics.
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_PERFORATIONDATA_HEADER_INCLUDED
21#define OPM_PERFORATIONDATA_HEADER_INCLUDED
22
23#include <cstddef>
24
25namespace Opm {
26
28template<class Scalar>
30{
34 int satnum_id{};
36 std::size_t ecl_index{};
37};
38
39template<class Scalar>
41{
42 Scalar dis_gas = 0.0;
43 Scalar dis_gas_in_water = 0.0;
44 Scalar vap_oil = 0.0;
45 Scalar vap_wat = 0.0;
46};
47
48} // namespace Opm
49
50#endif // OPM_PERFORATIONDATA_HEADER_INCLUDED
Definition: blackoilboundaryratevector.hh:37
Static data associated with a well perforation.
Definition: PerforationData.hpp:30
Scalar connection_d_factor
Definition: PerforationData.hpp:33
int satnum_id
Definition: PerforationData.hpp:34
Scalar connection_transmissibility_factor
Definition: PerforationData.hpp:32
int cell_index
Definition: PerforationData.hpp:31
std::size_t ecl_index
The original index of the perforation in ECL Schedule.
Definition: PerforationData.hpp:36
Definition: PerforationData.hpp:41
Scalar dis_gas
Definition: PerforationData.hpp:42
Scalar vap_wat
Definition: PerforationData.hpp:45
Scalar vap_oil
Definition: PerforationData.hpp:44
Scalar dis_gas_in_water
Definition: PerforationData.hpp:43