opm-simulators
flow_blackoil.hpp
1 /*
2  This file is part of the Open Porous Media project (OPM).
3 
4  OPM is free software: you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation, either version 3 of the License, or
7  (at your option) any later version.
8 
9  OPM is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with OPM. If not, see <http://www.gnu.org/licenses/>.
16 */
17 #ifndef FLOW_BLACKOIL_TPFA_HPP
18 #define FLOW_BLACKOIL_TPFA_HPP
19 
20 #include <opm/simulators/flow/TTagFlowProblemTPFA.hpp>
21 
22 #include <memory>
23 
24 namespace Opm {
25 
27 int flowBlackoilTpfaMain(int argc, char** argv, bool outputCout, bool outputFiles);
28 
29 template<class TypeTag> class FlowMain;
30 
32 std::unique_ptr<FlowMain<Properties::TTag::FlowProblemTPFA>>
33 flowBlackoilTpfaMainInit(int argc, char** argv, bool outputCout, bool outputFiles);
34 
36 int flowBlackoilTpfaMainStandalone(int argc, char** argv);
37 
38 }
39 
40 #endif // FLOW_BLACKOIL_TPFA_HPP
int flowBlackoilTpfaMain(int argc, char **argv, bool outputCout, bool outputFiles)
Main function used in flow binary.
Definition: flow_blackoil.cpp:64
int flowBlackoilTpfaMainStandalone(int argc, char **argv)
Main function used in flow_brine binary.
Definition: flow_blackoil.cpp:75
Structs needed for tpfalinearizer and its gpuparams struct extracted to be defined in one place that ...
Definition: blackoilbioeffectsmodules.hh:45
std::unique_ptr< FlowMain< Properties::TTag::FlowProblemTPFA > > flowBlackoilTpfaMainInit(int argc, char **argv, bool outputCout, bool outputFiles)
Initialization function used in flow binary and python simulator.
Definition: flow_blackoil.cpp:53