opm-common
Toggle main menu visibility
Loading...
Searching...
No Matches
WellPolymerProperties.hpp
1
/*
2
Copyright 2014 Statoil 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 WELLPOLYMERPROPERTIES_HPP_HEADER_INCLUDED
21
#define WELLPOLYMERPROPERTIES_HPP_HEADER_INCLUDED
22
23
24
namespace
Opm
{
25
26
class
DeckRecord
;
27
28
struct
WellPolymerProperties
{
29
double
m_polymerConcentration = 0.0;
30
double
m_saltConcentration = 0.0;
31
int
m_plymwinjtable = -1;
32
int
m_skprwattable = -1;
33
int
m_skprpolytable = -1;
34
35
static
WellPolymerProperties
serializationTestObject();
36
37
bool
operator==(
const
WellPolymerProperties
& other)
const
;
38
bool
operator!=(
const
WellPolymerProperties
& other)
const
;
39
void
handleWPOLYMER(
const
DeckRecord
& record);
40
void
handleWPMITAB(
const
DeckRecord
& record);
41
void
handleWSKPTAB(
const
DeckRecord
& record);
42
43
template
<
class
Serializer>
44
void
serializeOp(
Serializer
& serializer)
45
{
46
serializer(m_polymerConcentration);
47
serializer(m_saltConcentration);
48
serializer(m_plymwinjtable);
49
serializer(m_skprwattable);
50
serializer(m_skprpolytable);
51
}
52
};
53
}
54
55
#endif
Opm::DeckRecord
Definition
DeckRecord.hpp:32
Opm::Serializer
Class for (de-)serializing.
Definition
Serializer.hpp:94
Opm
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition
Exceptions.hpp:30
Opm::WellPolymerProperties
Definition
WellPolymerProperties.hpp:28
opm
input
eclipse
Schedule
Well
WellPolymerProperties.hpp
Generated by
1.17.0