mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-21 16:57:25 -06:00
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().
This commit is contained in:
parent
23642bd9f7
commit
1107b39c77
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user