2015-02-12 16:51:04 +01:00
|
|
|
/*
|
|
|
|
|
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_SIMULATION_CONFIG_HPP
|
|
|
|
|
#define OPM_SIMULATION_CONFIG_HPP
|
|
|
|
|
|
2016-10-10 16:34:37 +02:00
|
|
|
#include <opm/parser/eclipse/EclipseState/SimulationConfig/ThresholdPressure.hpp>
|
2015-02-12 16:51:04 +01:00
|
|
|
|
|
|
|
|
namespace Opm {
|
|
|
|
|
|
2016-10-10 16:34:37 +02:00
|
|
|
class Deck;
|
|
|
|
|
class Eclipse3DProperties;
|
2016-01-15 08:42:57 +01:00
|
|
|
|
2015-02-12 16:51:04 +01:00
|
|
|
class SimulationConfig {
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
2016-05-11 10:07:32 +08:00
|
|
|
SimulationConfig(const Deck& deck,
|
2016-04-01 15:27:40 +02:00
|
|
|
const Eclipse3DProperties& gridProperties);
|
2015-02-12 16:51:04 +01:00
|
|
|
|
2016-10-10 16:34:37 +02:00
|
|
|
const ThresholdPressure& getThresholdPressure() const;
|
2015-08-25 11:45:04 +02:00
|
|
|
bool hasThresholdPressure() const;
|
2015-09-15 16:37:29 +02:00
|
|
|
bool useCPR() const;
|
2015-12-15 13:50:41 +01:00
|
|
|
bool hasDISGAS() const;
|
|
|
|
|
bool hasVAPOIL() const;
|
2015-02-12 16:51:04 +01:00
|
|
|
|
|
|
|
|
private:
|
2016-10-10 16:34:37 +02:00
|
|
|
ThresholdPressure m_ThresholdPressure;
|
2015-09-15 16:37:29 +02:00
|
|
|
bool m_useCPR;
|
2015-12-15 13:50:41 +01:00
|
|
|
bool m_DISGAS;
|
|
|
|
|
bool m_VAPOIL;
|
2015-02-12 16:51:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} //namespace Opm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|