From 1107b39c7730e5805bbedb6b7acd5a746448b23c Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Thu, 13 Jul 2017 14:08:01 +0200 Subject: [PATCH] remove support for dune < 2.4 this allows quite a substantial amount of code decluttering, mainly because Dune 2.4 renamed mapper.map() to mapper.index(). --- tests/models/test_quadrature.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/models/test_quadrature.cpp b/tests/models/test_quadrature.cpp index c4645d091..06c8839e6 100644 --- a/tests/models/test_quadrature.cpp +++ b/tests/models/test_quadrature.cpp @@ -293,17 +293,7 @@ void testQuadrature() typedef Dune::YaspGrid Grid; typedef Grid::LeafGridView GridView; -#if DUNE_VERSION_NEWER(DUNE_COMMON, 2, 4) Grid grid(upperRight, cellRes); -#else - Grid grid( -#ifdef HAVE_MPI - Dune::MPIHelper::getCommunicator(), -#endif - upperRight, // upper right - cellRes, // number of cells - isPeriodic, 0); // overlap -#endif // compute approximate integral auto gridView = grid.leafGridView();