diff --git a/dune/alugrid/3d/grid_inline.hh b/dune/alugrid/3d/grid_inline.hh index 2d0256840ac398f60339460452cfa82c5019c34b..f25de31c5f21e3932eb465c56a4d7b53af94d6a9 100644 --- a/dune/alugrid/3d/grid_inline.hh +++ b/dune/alugrid/3d/grid_inline.hh @@ -352,10 +352,6 @@ namespace Dune { typedef AdaptDataHandleInterface< GridImp, DataHandle > AdaptDataHandle; - typedef typename EntityObject::ImplementationType EntityImp; - EntityObject father( EntityImp( factory(), this->maxLevel() ) ); - EntityObject son ( EntityImp( factory(), this->maxLevel() ) ); - // true if at least one element was marked for coarsening bool mightCoarse = preAdapt(); @@ -366,8 +362,6 @@ namespace Dune // prolongation process ALU3DSPACE AdaptRestrictProlongGlSet< MyType, AdaptDataHandle, GlobalIdSetImp > rp(*this, - father,this->getRealImplementation(father), - son, this->getRealImplementation(son), handle, *globalIdSet_); @@ -377,8 +371,6 @@ namespace Dune { ALU3DSPACE AdaptRestrictProlongImpl< MyType, AdaptDataHandle > rp(*this, - father,this->getRealImplementation(father), - son, this->getRealImplementation(son), handle); refined = myGrid().duneAdapt(rp); // adapt grid