From a7d0be93d15cba959c25a9972b716275933064e3 Mon Sep 17 00:00:00 2001 From: heister Date: Mon, 27 May 2013 12:46:51 +0000 Subject: [PATCH] fill new copy_indices even more correct git-svn-id: https://svn.dealii.org/trunk@29643 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/multigrid/mg_transfer_prebuilt.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/deal.II/source/multigrid/mg_transfer_prebuilt.cc b/deal.II/source/multigrid/mg_transfer_prebuilt.cc index 31e5ac4837..fa73027ff0 100644 --- a/deal.II/source/multigrid/mg_transfer_prebuilt.cc +++ b/deal.II/source/multigrid/mg_transfer_prebuilt.cc @@ -266,18 +266,18 @@ void MGTransferPrebuilt::build_matrices ( && level_cell->level_subdomain_id()!=mg_dof.get_tria().locally_owned_subdomain()) continue; - // get the dof numbers of - // this cell for the global - // and the level-wise + // get the dof numbers of this cell for the global and the level-wise // numbering level_cell->get_dof_indices (global_dof_indices); level_cell->get_mg_dof_indices (level_dof_indices); - // ignore dofs that - // 1. are not locally owned - // 2. are constrained at a refinement edge for (unsigned int i=0; iat_refinement_edge(level, level_dof_indices[i])) + continue; + unsigned int global_idx = globally_relevant.index_within_set(global_dof_indices[i]); //skip if we did this global dof already (on this or a coarser level) if (dof_touched[global_idx]) -- 2.39.5