Merge pull request #209 from andlaus/remove_dune_2_3_support

remove support for dune < 2.4
This commit is contained in:
Arne Morten Kvarving 2017-09-22 11:39:59 +02:00 committed by GitHub
commit 93d6eff3be

View File

@ -293,17 +293,7 @@ void testQuadrature()
typedef Dune::YaspGrid<dim> 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();