Local adaptivity broken in 2d
Locally adapting a single element in a 2d foamgrid results in wrong number of facets. Adding the lines
+ // refine single element
+ grid2d->mark(1, *grid2d->leafGridView().begin<0>());
+ grid2d->preAdapt();
+ grid2d->adapt();
+ grid2d->postAdapt();
to the local adaptivity 2d test throws error:
Warning: gridsize = 1854 entities, set of entities = 1862 [codim 1]
For subEntity key (3,(simplex, 1))
Got 0 4
Found 0 2
Dune::GridError [checkSubEntity:/home/timok/dune/nextdumux/dune-grid/dune/grid/test/checkindexset.hh:215]: global != globalcheck