mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 02:00:59 -06:00
9395c74b3e
this is very convenient during development. we can then remove the FLOW_BLACKOIL_ONLY option, as it is no longer needed - use the flow_blackoil binary instead. however we need to keep this support in Main.hpp due to the python bindings relying on it.
57 lines
2.0 KiB
C++
57 lines
2.0 KiB
C++
/*
|
|
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 FLOW_EBOS_BLACKOIL_HPP
|
|
#define FLOW_EBOS_BLACKOIL_HPP
|
|
|
|
#include <memory>
|
|
|
|
namespace Opm {
|
|
|
|
class Deck;
|
|
class EclipseState;
|
|
template<class TypeTag> class FlowMainEbos;
|
|
class Schedule;
|
|
class SummaryConfig;
|
|
class UDQState;
|
|
class WellTestState;
|
|
namespace Action {
|
|
class State;
|
|
}
|
|
namespace Properties { namespace TTag { struct EclFlowProblem; } }
|
|
|
|
void flowEbosBlackoilSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
|
std::shared_ptr<EclipseState> eclState,
|
|
std::shared_ptr<Schedule> schedule,
|
|
std::unique_ptr<UDQState> udqState,
|
|
std::unique_ptr<Action::State> actionState,
|
|
std::unique_ptr<WellTestState> wtestState,
|
|
std::shared_ptr<SummaryConfig> summaryConfig);
|
|
|
|
//! \brief Main function used in flow binary.
|
|
int flowEbosBlackoilMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
|
|
|
//! \brief Initialization function used in flow binary and python simulator.
|
|
std::unique_ptr<FlowMainEbos<Properties::TTag::EclFlowProblem>>
|
|
flowEbosBlackoilMainInit(int argc, char** argv, bool outputCout, bool outputFiles);
|
|
|
|
//! \brief Main function used in flow_blackoil binary.
|
|
int flowEbosBlackoilMainStandalone(int argc, char** argv);
|
|
|
|
}
|
|
|
|
#endif // FLOW_EBOS_BLACKOIL_HPP
|