From 750e7ac5dd920f5673b1853fd2edd284e3973894 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Wed, 6 Jul 2022 10:38:42 +0200 Subject: [PATCH] Clean up and remove unnecessary parts from flow_blackoil_tpfa.cpp. --- flow/flow_blackoil_tpfa.cpp | 37 +++++-------------------------------- 1 file changed, 5 insertions(+), 32 deletions(-) diff --git a/flow/flow_blackoil_tpfa.cpp b/flow/flow_blackoil_tpfa.cpp index d3af19aac..5ec7c4f20 100644 --- a/flow/flow_blackoil_tpfa.cpp +++ b/flow/flow_blackoil_tpfa.cpp @@ -25,8 +25,6 @@ #include #include #include -#include -#include namespace Opm { namespace Properties { @@ -38,48 +36,23 @@ namespace Opm { } } - - namespace Opm { namespace Properties { + template struct Linearizer { using type = TpfaLinearizer; }; - } -} -namespace Opm { - namespace Properties { + template struct LocalResidual { using type = BlackOilLocalResidualTPFA; }; + template //struct ElementContext { using type = SmallElementContext; }; struct ElementContext { using type = FvBaseElementContext; }; - } -} -namespace Opm{ - template - struct EclTransFluxModuleTPFA - { - typedef EclTransIntensiveQuantities FluxIntensiveQuantities; - typedef EclTransExtensiveQuantitiesTPFA FluxExtensiveQuantities; - typedef EclTransBaseProblem FluxBaseProblem; - /// \brief Register all run-time parameters for the flux module. - static void registerParameters() - { } - }; -} - - -namespace Opm { - namespace Properties { - - template - struct FluxModule { - using type = EclTransFluxModuleTPFA; - }; template struct IntensiveQuantities { - using type = BlackOilIntensiveQuantitiesSimple; + //using type = BlackOilIntensiveQuantitiesSimple; + using type = BlackOilIntensiveQuantities; }; }