mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #209 from andlaus/remove_dune_2_3_support
remove support for dune < 2.4
This commit is contained in:
commit
93d6eff3be
@ -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