mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-22 09:16:27 -06:00
47 lines
1.4 KiB
C++
47 lines
1.4 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_BLACKOIL_TPFA_HPP
|
|
#define FLOW_BLACKOIL_TPFA_HPP
|
|
|
|
#include <memory>
|
|
#include <tuple>
|
|
|
|
namespace Opm::Properties::TTag {
|
|
struct FlowProblem;
|
|
struct FlowProblemTPFA {
|
|
using InheritsFrom = std::tuple<FlowProblem>;
|
|
};
|
|
}
|
|
|
|
namespace Opm {
|
|
|
|
//! \brief Main function used in flow binary.
|
|
int flowBlackoilTpfaMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
|
|
|
template<class TypeTag> class FlowMain;
|
|
|
|
//! \brief Initialization function used in flow binary and python simulator.
|
|
std::unique_ptr<FlowMain<Properties::TTag::FlowProblemTPFA>>
|
|
flowBlackoilTpfaMainInit(int argc, char** argv, bool outputCout, bool outputFiles);
|
|
|
|
//! \brief Main function used in flow_brine binary.
|
|
int flowBlackoilTpfaMainStandalone(int argc, char** argv);
|
|
|
|
}
|
|
|
|
#endif // FLOW_BLACKOIL_TPFA_HPP
|