2017-12-06 09:12:00 -06:00
|
|
|
|
2012-01-05 02:34:05 -06:00
|
|
|
/*
|
|
|
|
Copyright 2012 SINTEF ICT, Applied Mathematics.
|
|
|
|
|
|
|
|
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_PHASEUSAGEFROMDECK_HEADER_INCLUDED
|
|
|
|
#define OPM_PHASEUSAGEFROMDECK_HEADER_INCLUDED
|
|
|
|
|
2013-03-14 04:29:42 -05:00
|
|
|
#include <opm/core/props/BlackoilPhases.hpp>
|
2012-01-05 02:34:05 -06:00
|
|
|
|
|
|
|
namespace Opm
|
|
|
|
{
|
2021-04-29 02:18:02 -05:00
|
|
|
class Deck;
|
|
|
|
class EclipseState;
|
|
|
|
class Phases;
|
2017-12-06 09:12:00 -06:00
|
|
|
|
2021-04-29 02:18:02 -05:00
|
|
|
/// Determine the active phases
|
|
|
|
PhaseUsage phaseUsage(const Phases& phases);
|
2012-01-05 02:34:05 -06:00
|
|
|
|
2018-11-27 07:38:50 -06:00
|
|
|
/// Looks at presence of WATER, OIL and GAS keywords in state object
|
|
|
|
/// to determine active phases.
|
2021-05-05 04:22:44 -05:00
|
|
|
PhaseUsage phaseUsageFromDeck(const EclipseState& eclipseState);
|
2018-11-27 07:38:50 -06:00
|
|
|
|
2014-01-24 05:01:54 -06:00
|
|
|
/// Looks at presence of WATER, OIL and GAS keywords in deck
|
|
|
|
/// to determine active phases.
|
2021-05-05 04:22:44 -05:00
|
|
|
PhaseUsage phaseUsageFromDeck(const Deck& deck);
|
2012-01-05 02:34:05 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif // OPM_PHASEUSAGEFROMDECK_HEADER_INCLUDED
|