diff --git a/tests/models/test_quadrature.cpp b/tests/models/test_quadrature.cpp index 3795600a8..970cb443a 100644 --- a/tests/models/test_quadrature.cpp +++ b/tests/models/test_quadrature.cpp @@ -123,11 +123,7 @@ void writeTetrahedronSubControlVolumes([[maybe_unused]] const Grid& grid) using Stencil = Opm::VcfvStencil; using Mapper = typename Stencil :: Mapper; -#if DUNE_VERSION_NEWER(DUNE_GRID, 2,6) Mapper mapper(gridView, Dune::mcmgVertexLayout()); -#else - Mapper mapper(gridView); -#endif Stencil stencil(gridView, mapper); auto eIt = gridView.template begin<0>(); @@ -207,13 +203,8 @@ void writeCubeSubControlVolumes([[maybe_unused]] const Grid& grid) GridFactory2 gf2; const auto &gridView = grid.leafView(); -#if DUNE_VERSION_NEWER(DUNE_GRID, 2,6) using VertexMapper = Dune::MultipleCodimMultipleGeomTypeMapper; VertexMapper vertexMapper(gridView, Dune::mcmgVertexLayout()); -#else - using VertexMapper = Dune::MultipleCodimMultipleGeomTypeMapper; - VertexMapper vertexMapper(gridView); -#endif Stencil stencil(gridView, vertexMapper); auto eIt = gridView.template begin<0>(); const auto &eEndIt = gridView.template end<0>(); @@ -309,11 +300,7 @@ void testQuadrature() using Stencil = Opm::VcfvStencil; using Mapper = typename Stencil :: Mapper; -#if DUNE_VERSION_NEWER(DUNE_GRID, 2,6) Mapper mapper(gridView, Dune::mcmgVertexLayout()); -#else - Mapper mapper(gridView); -#endif Stencil stencil(gridView, mapper); for (; eIt != eEndIt; ++eIt) { const auto &elemGeom = eIt->geometry();