WellPolymerProperties.hpp
Go to the documentation of this file.
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
24namespace Opm {
25
26 class DeckRecord;
27
30 double m_saltConcentration = 0.0;
34
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
Definition: DeckRecord.hpp:32
Definition: Serializer.hpp:38
Definition: A.hpp:4
Definition: WellPolymerProperties.hpp:28
bool operator!=(const WellPolymerProperties &other) const
int m_plymwinjtable
Definition: WellPolymerProperties.hpp:31
void handleWSKPTAB(const DeckRecord &record)
double m_saltConcentration
Definition: WellPolymerProperties.hpp:30
void handleWPOLYMER(const DeckRecord &record)
double m_polymerConcentration
Definition: WellPolymerProperties.hpp:29
int m_skprwattable
Definition: WellPolymerProperties.hpp:32
void serializeOp(Serializer &serializer)
Definition: WellPolymerProperties.hpp:44
int m_skprpolytable
Definition: WellPolymerProperties.hpp:33
void handleWPMITAB(const DeckRecord &record)
static WellPolymerProperties serializeObject()
bool operator==(const WellPolymerProperties &other) const