From 246850ee075109205e80bcc3c7315caba620504a Mon Sep 17 00:00:00 2001 From: heister Date: Mon, 27 May 2013 14:10:23 +0000 Subject: [PATCH] fix mg number cache git-svn-id: https://svn.dealii.org/trunk@29648 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/dofs/dof_handler_policy.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); } -- 2.39.5