From 83ac84afef7769ebe87950356e95c1d6091ba803 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Tue, 6 Feb 2024 14:47:31 +0100 Subject: [PATCH] rename TTag::EclFlowProblemPoly to TTag::FlowProblemPoly --- flow/flow_blackoil_polyhedralgrid.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/flow/flow_blackoil_polyhedralgrid.cpp b/flow/flow_blackoil_polyhedralgrid.cpp index e47eb4194..994856acc 100644 --- a/flow/flow_blackoil_polyhedralgrid.cpp +++ b/flow/flow_blackoil_polyhedralgrid.cpp @@ -38,39 +38,40 @@ namespace Opm { namespace Properties { namespace TTag { - struct EclFlowProblemPoly { + struct FlowProblemPoly { using InheritsFrom = std::tuple; }; } template - struct Linearizer { using type = TpfaLinearizer; }; + struct Linearizer { using type = TpfaLinearizer; }; template - struct LocalResidual { using type = BlackOilLocalResidualTPFA; }; + struct LocalResidual { using type = BlackOilLocalResidualTPFA; }; template - struct EnableDiffusion { static constexpr bool value = false; }; + struct EnableDiffusion { static constexpr bool value = false; }; template - struct Grid { + struct Grid { using type = Dune::PolyhedralGrid<3, 3>; }; template - struct EquilGrid { + struct EquilGrid { //using type = Dune::CpGrid; using type = GetPropType; }; template - struct Vanguard { + struct Vanguard { using type = Opm::EclPolyhedralGridVanguard; }; } } + int main(int argc, char** argv) { - using TypeTag = Opm::Properties::TTag::EclFlowProblemPoly; + using TypeTag = Opm::Properties::TTag::FlowProblemPoly; auto mainObject = std::make_unique(argc, argv); auto ret = mainObject->runStatic(); // Destruct mainObject as the destructor calls MPI_Finalize!