From 21554f569bb4bcf32a13224fde9a156b9682c01e Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Wed, 29 May 2013 08:09:34 +0000 Subject: [PATCH] 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 --- deal.II/examples/step-48/step-48.cc | 1 + tests/mpi/step-48.cc | 1 + 2 files changed, 2 insertions(+) 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()); -- 2.39.5