mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Make the TPFA linearizer default for 3 phase blackoil.
This commit is contained in:
parent
3bb35b223c
commit
f1762a1abd
@ -23,6 +23,7 @@
|
|||||||
#define OPM_MAIN_HEADER_INCLUDED
|
#define OPM_MAIN_HEADER_INCLUDED
|
||||||
|
|
||||||
#include <flow/flow_ebos_blackoil.hpp>
|
#include <flow/flow_ebos_blackoil.hpp>
|
||||||
|
#include <flow/flow_ebos_blackoil_tpfa.hpp>
|
||||||
|
|
||||||
#include <flow/flow_ebos_gasoil.hpp>
|
#include <flow/flow_ebos_gasoil.hpp>
|
||||||
#include <flow/flow_ebos_gasoil_energy.hpp>
|
#include <flow/flow_ebos_gasoil_energy.hpp>
|
||||||
@ -117,9 +118,6 @@ int flowEbosMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
|||||||
// usage scenarios, we refactored the original run() in flow.cpp into this class.
|
// usage scenarios, we refactored the original run() in flow.cpp into this class.
|
||||||
class Main
|
class Main
|
||||||
{
|
{
|
||||||
private:
|
|
||||||
using FlowMainEbosType = FlowMainEbos<Properties::TTag::EclFlowProblem>;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Main(int argc, char** argv) : argc_(argc), argv_(argv) { initMPI(); }
|
Main(int argc, char** argv) : argc_(argc), argv_(argv) { initMPI(); }
|
||||||
|
|
||||||
@ -236,6 +234,7 @@ public:
|
|||||||
return exitCode;
|
return exitCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
using FlowMainEbosType = FlowMainEbos<Properties::TTag::EclFlowProblem>;
|
||||||
// To be called from the Python interface code. Only do the
|
// To be called from the Python interface code. Only do the
|
||||||
// initialization and then return a pointer to the FlowEbosMain
|
// initialization and then return a pointer to the FlowEbosMain
|
||||||
// object that can later be accessed directly from the Python interface
|
// object that can later be accessed directly from the Python interface
|
||||||
@ -737,7 +736,7 @@ private:
|
|||||||
|
|
||||||
int runBlackOil()
|
int runBlackOil()
|
||||||
{
|
{
|
||||||
return flowEbosBlackoilMain(argc_, argv_, outputCout_, outputFiles_);
|
return flowEbosBlackoilTpfaMain(argc_, argv_, outputCout_, outputFiles_);
|
||||||
}
|
}
|
||||||
|
|
||||||
int argc_{0};
|
int argc_{0};
|
||||||
|
Loading…
Reference in New Issue
Block a user