From 64474c02671166d3b8f365457bed9b0f52bc5b4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Mon, 4 Jul 2022 16:20:37 +0200 Subject: [PATCH] Remove unused code. --- flow/flow_blackoil_tpfa.cpp | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/flow/flow_blackoil_tpfa.cpp b/flow/flow_blackoil_tpfa.cpp index ce5a7f72d..42bf1f4c3 100644 --- a/flow/flow_blackoil_tpfa.cpp +++ b/flow/flow_blackoil_tpfa.cpp @@ -40,6 +40,8 @@ namespace Opm { } } + + namespace Opm { namespace Properties { template @@ -54,15 +56,6 @@ namespace Opm { namespace Properties { template struct Linearizer { using type = TpfaLinearizer; }; - - // // Override default: use the TPFA linearizer. - // template - // struct UseTpfaLinearizer { static constexpr bool value = true; }; - - // template - // struct LocalLinearizerSplice { - // using type = TTag::AutoDiffLocalLinearizerTPFA; - // }; } } namespace Opm { @@ -70,27 +63,25 @@ namespace Opm { template struct LocalResidual { using type = BlackOilLocalResidualTPFA; }; template - // struct DiscLocalResidual { using type = FvBaseLocalResidualTPFA; }; - // template - struct ElementContext { using type = SmallElementContext; }; - //struct ElementContext { using type = FvBaseElementContext; }; + //struct ElementContext { using type = SmallElementContext; }; + struct ElementContext { using type = FvBaseElementContext; }; } } namespace Opm{ template - struct EclTransFluxModuleTPFA + struct EclTransFluxModuleTPFA { typedef EclTransIntensiveQuantities FluxIntensiveQuantities; typedef EclTransExtensiveQuantitiesTPFA FluxExtensiveQuantities; typedef EclTransBaseProblem FluxBaseProblem; - /*! - * \brief Register all run-time parameters for the flux module. - */ + /// \brief Register all run-time parameters for the flux module. static void registerParameters() { } }; } + + namespace Opm { namespace Properties {