Files
opm-common/opm/parser/eclipse/EclipseState/Tables/PlyshlogTable.hpp
Jørgen Kvalsvik f0ae5db131 opm-parser adoption of Deck automatic ownership
Since the Deck* family of classes have changed their interfaces to no
longer use shared_ptr, a lot of code broke. This patch fixes all
problems in tests, other signatures and accesses to now use the new Deck
interfaces.
2016-02-18 13:27:24 +01:00

61 lines
1.9 KiB
C++

/*
Copyright 2015 Statoil ASA.
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
#include <opm/parser/eclipse/Parser/ParserKeywords/P.hpp>
#include "SimpleTable.hpp"
namespace Opm {
class DeckRecord;
class TableManager;
class PlyshlogTable : public SimpleTable {
public:
friend class TableManager;
PlyshlogTable(const DeckRecord& indexRecord, const DeckRecord& dataRecord);
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;
private:
double m_refPolymerConcentration;
double m_refSalinity;
double m_refTemperature;
bool m_hasRefSalinity;
bool m_hasRefTemperature;
};
}
#endif