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!