opm-simulators
flow_blackoil_legacyassembly.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_EBOS_BLACKOIL_HPP
18 #define FLOW_EBOS_BLACKOIL_HPP
19 
20 #include <memory>
21 
22 namespace Opm {
23 
24 template<class TypeTag> class FlowMain;
25 
26 namespace Action {
27 class State;
28 }
29 namespace Properties { namespace TTag { struct FlowProblem; } }
30 
32 int flowBlackoilMain(int argc, char** argv, bool outputCout, bool outputFiles);
33 
35 std::unique_ptr<FlowMain<Properties::TTag::FlowProblem>>
36 flowBlackoilMainInit(int argc, char** argv, bool outputCout, bool outputFiles);
37 
39 int flowBlackoilMainStandalone(int argc, char** argv);
40 
41 }
42 
43 #endif // FLOW_EBOS_BLACKOIL_HPP
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::FlowProblem > > flowBlackoilMainInit(int argc, char **argv, bool outputCout, bool outputFiles)
Initialization function used in flow binary and python simulator.
Definition: flow_blackoil_legacyassembly.cpp:32
int flowBlackoilMain(int argc, char **argv, bool outputCout, bool outputFiles)
Main function used in flow binary.
Definition: flow_blackoil_legacyassembly.cpp:43
int flowBlackoilMainStandalone(int argc, char **argv)
Main function used in flow_blackoil binary.
Definition: flow_blackoil_legacyassembly.cpp:49