2015-04-24 17:19:05 +02:00
|
|
|
/*
|
2015-06-23 13:13:07 +02:00
|
|
|
Copyright 2015 Statoil ASA.
|
2015-04-24 17:19:05 +02:00
|
|
|
|
|
|
|
|
This file is part of the Open Porous Media project (OPM).
|
|
|
|
|
|
|
|
|
|
OPM is free software: you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
|
|
OPM is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
|
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
|
|
|
|
#ifndef OPM_PARSER_PLYSHLOG_TABLE_HPP
|
|
|
|
|
#define OPM_PARSER_PLYSHLOG_TABLE_HPP
|
|
|
|
|
|
2016-01-18 17:51:15 +01:00
|
|
|
#include <opm/parser/eclipse/Parser/ParserKeywords/P.hpp>
|
2015-09-06 22:47:48 +02:00
|
|
|
#include "SimpleTable.hpp"
|
2015-12-21 15:07:29 +01:00
|
|
|
|
2015-04-24 17:19:05 +02:00
|
|
|
|
|
|
|
|
namespace Opm {
|
2016-01-15 08:42:57 +01:00
|
|
|
|
2016-01-15 13:46:50 +01:00
|
|
|
class DeckRecord;
|
2015-09-01 10:38:12 +02:00
|
|
|
class TableManager;
|
2015-04-24 17:19:05 +02:00
|
|
|
|
2015-09-29 07:48:36 +02:00
|
|
|
class PlyshlogTable : public SimpleTable {
|
|
|
|
|
public:
|
2015-09-01 10:38:12 +02:00
|
|
|
friend class TableManager;
|
2015-09-29 07:48:36 +02:00
|
|
|
|
2016-02-09 12:09:40 +01:00
|
|
|
PlyshlogTable(const DeckRecord& indexRecord, const DeckRecord& dataRecord);
|
2016-01-15 13:46:50 +01:00
|
|
|
|
|
|
|
|
double getRefPolymerConcentration() const;
|
|
|
|
|
double getRefSalinity() const;
|
|
|
|
|
double getRefTemperature() const;
|
|
|
|
|
void setRefPolymerConcentration(const double refPlymerConcentration);
|
|
|
|
|
void setRefSalinity(const double refSalinity);
|
|
|
|
|
void setRefTemperature(const double refTemperature);
|
|
|
|
|
bool hasRefSalinity() const;
|
|
|
|
|
bool hasRefTemperature() const;
|
|
|
|
|
void setHasRefSalinity(const bool has);
|
|
|
|
|
void setHasRefTemperature(const bool has);
|
|
|
|
|
const TableColumn& getWaterVelocityColumn() const;
|
|
|
|
|
const TableColumn& getShearMultiplierColumn() const;
|
2015-04-24 17:19:05 +02:00
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
double m_refPolymerConcentration;
|
|
|
|
|
double m_refSalinity;
|
|
|
|
|
double m_refTemperature;
|
|
|
|
|
|
|
|
|
|
bool m_hasRefSalinity;
|
|
|
|
|
bool m_hasRefTemperature;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|