From 6119d5171da9d21e19ff2d5c80183b6d72181c92 Mon Sep 17 00:00:00 2001 From: kanschat Date: Mon, 24 Jun 2013 13:25:09 +0000 Subject: [PATCH] new filtered iterator LocallyOwnedLevelCell git-svn-id: https://svn.dealii.org/trunk@29874 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/multigrid/mg_tools.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deal.II/source/multigrid/mg_tools.cc b/deal.II/source/multigrid/mg_tools.cc index 07b15f52a4..752b946248 100644 --- a/deal.II/source/multigrid/mg_tools.cc +++ b/deal.II/source/multigrid/mg_tools.cc @@ -589,6 +589,8 @@ namespace MGTools endc = dof.end(level); for (; cell!=endc; ++cell) { + if (!cell->is_locally_owned_on_level()) continue; + cell->get_mg_dof_indices (dofs_on_this_cell); // make sparsity pattern for this cell for (unsigned int i=0; i