]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Need to call update_ghost_values with the current scheme of distribute
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 29 May 2013 08:09:34 +0000 (08:09 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 29 May 2013 08:09:34 +0000 (08:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@29664 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-48/step-48.cc
tests/mpi/step-48.cc

index 2926733ba0b728a212deb0c5be63bf3f0d42e646..2b3f7a651a622cda9c6f22b6969a72308d368d57 100644 (file)
@@ -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<float> norm_per_cell (triangulation.n_active_cells());
index ebcfa168e48333dbe0a2b57df5702c605b817f72..5d4e4e70b5c28a60f495d4990c8efe92daba6cef 100644 (file)
@@ -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<float> norm_per_cell (triangulation.n_active_cells());

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.