From: kronbichler Date: Wed, 29 May 2013 08:09:34 +0000 (+0000) Subject: Need to call update_ghost_values with the current scheme of distribute X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bc780d1a29a1e3457d9a1d19abc8de73d06dc26;p=dealii-svn.git Need to call update_ghost_values with the current scheme of distribute git-svn-id: https://svn.dealii.org/trunk@29664 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-48/step-48.cc b/deal.II/examples/step-48/step-48.cc index 2926733ba0..2b3f7a651a 100644 --- a/deal.II/examples/step-48/step-48.cc +++ b/deal.II/examples/step-48/step-48.cc @@ -441,6 +441,7 @@ namespace Step48 locally_relevant_dofs, MPI_COMM_WORLD); locally_relevant_solution.copy_from (solution); + locally_relevant_solution.update_ghost_values(); constraints.distribute (locally_relevant_solution); Vector norm_per_cell (triangulation.n_active_cells()); diff --git a/tests/mpi/step-48.cc b/tests/mpi/step-48.cc index ebcfa168e4..5d4e4e70b5 100644 --- a/tests/mpi/step-48.cc +++ b/tests/mpi/step-48.cc @@ -308,6 +308,7 @@ namespace Step48 locally_relevant_dofs, MPI_COMM_WORLD); locally_relevant_solution.copy_from (solution); + locally_relevant_solution.update_ghost_values(); constraints.distribute (locally_relevant_solution); Vector norm_per_cell (triangulation.n_active_cells());