opm-common
Loading...
Searching...
No Matches
LgrHEADI.hpp
1
/*
2
Copyright 2025 Equinor ASA.
3
Copyright 2016, 2017, 2018 Statoil ASA.
4
5
This file is part of the Open Porous Media Project (OPM).
6
7
OPM is free software: you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation, either version 3 of the License, or
10
(at your option) any later version.
11
12
OPM is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with OPM. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
#ifndef OPM_LGRHEADI_HEADER_INCLUDED
22
#define OPM_LGRHEADI_HEADER_INCLUDED
23
24
#include <ctime>
25
#include <vector>
26
27
namespace
Opm
{
28
29
}
// namespace Opm
30
31
namespace
Opm
{
namespace
RestartIO {
32
33
class
LgrHEADI
34
{
35
public
:
36
LgrHEADI();
37
~LgrHEADI() =
default
;
38
39
LgrHEADI(
const
LgrHEADI& rhs) =
default
;
40
LgrHEADI(LgrHEADI&& rhs) =
default
;
41
42
LgrHEADI& operator=(
const
LgrHEADI& rhs) =
default
;
43
LgrHEADI& operator=(LgrHEADI&& rhs) =
default
;
44
45
LgrHEADI& toggleLGRCell(
const
bool
isLgrCell =
true
);
46
LgrHEADI& numberoOfLGRCell(
const
int
nactive);
47
48
49
const
std::vector<int>& data()
const
50
{
51
return
this->data_;
52
}
53
54
private
:
55
std::vector<int> data_;
56
};
57
}}
// Opm::RestartIO
58
59
#endif
// OPM_LGRHEADI_HEADER_INCLUDED
Opm
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition
Exceptions.hpp:30
opm
output
eclipse
LgrHEADI.hpp
Generated by
1.15.0