From: heister Date: Mon, 27 May 2013 14:10:23 +0000 (+0000) Subject: fix mg number cache X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=246850ee075109205e80bcc3c7315caba620504a;p=dealii-svn.git fix mg number cache git-svn-id: https://svn.dealii.org/trunk@29648 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/dofs/dof_handler_policy.cc b/deal.II/source/dofs/dof_handler_policy.cc index a45fd8c167..813cb517fd 100644 --- a/deal.II/source/dofs/dof_handler_policy.cc +++ b/deal.II/source/dofs/dof_handler_policy.cc @@ -917,8 +917,12 @@ namespace internal number_caches[level].n_global_dofs = next_free_dof; number_caches[level].n_locally_owned_dofs = next_free_dof; + number_caches[level].locally_owned_dofs = complete_index_set(next_free_dof); + number_caches[level].locally_owned_dofs_per_processor.resize(1); + number_caches[level].locally_owned_dofs_per_processor[0] = complete_index_set(next_free_dof); + number_caches[level].n_locally_owned_dofs_per_processor.resize(1); + number_caches[level].n_locally_owned_dofs_per_processor[0] = next_free_dof; } - const_cast&>(dof_handler.get_tria()).load_user_flags (user_flags); }