Skip to content
Snippets Groups Projects
Commit 38870f61 authored by Oliver Sander's avatar Oliver Sander
Browse files

when implementing IndexSets, delete the old LevelIndexSet after refinement

[[Imported from SVN: r2008]]
parent fccf03b2
Branches
Tags
No related merge requests found
......@@ -924,5 +924,13 @@ void Dune::UGGrid < dim, dimworld >::setLocalIndices()
UG_NS<dim>::index(getRealEntity<dim>(*vIt).target_) = id++;
}
#else
if (levelIndexSet_) {
delete(levelIndexSet_);
levelIndexSet_ = NULL;
}
#endif
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment