From: Baerbel Jannsen Date: Thu, 4 Mar 2010 00:49:19 +0000 (+0000) Subject: changed back to the global dof index with shift X-Git-Tag: v8.0.0~6374 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb42c62c9a5cb61e56135cde73d2edacd8dcc1f8;p=dealii.git changed back to the global dof index with shift git-svn-id: https://svn.dealii.org/trunk@20737 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/multigrid/mg_transfer_component.cc b/deal.II/deal.II/source/multigrid/mg_transfer_component.cc index 2a5d4d58f9..0fbeacf72e 100644 --- a/deal.II/deal.II/source/multigrid/mg_transfer_component.cc +++ b/deal.II/deal.II/source/multigrid/mg_transfer_component.cc @@ -647,8 +647,10 @@ void MGTransferSelect::build_matrices ( { const unsigned int level_start = mg_component_start[level][mg_target_component[component]]; - temp_copy_indices[level_dof_indices[i]-level_start] = - global_dof_indices[i]; + const unsigned int global_start + = component_start[target_component[component]]; + temp_copy_indices[level_dof_indices[i]-level_start] = + global_dof_indices[i] - global_start; } } }