]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix step-40.
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 15 Nov 2010 15:47:08 +0000 (15:47 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 15 Nov 2010 15:47:08 +0000 (15:47 +0000)
git-svn-id: https://svn.dealii.org/trunk@22745 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-40/step-40.cc

index 8272fbe95324ad419161116d9b913a4ac9a1a0e2..fbdcf5c0a3882d1c00419396deb012fcf1cbe241 100644 (file)
@@ -611,6 +611,7 @@ void LaplaceProblem<dim>::solve ()
   constraints.distribute (completely_distributed_solution);
 
   locally_relevant_solution = completely_distributed_solution;
+  locally_relevant_solution.update_ghost_values();
 }
 
 

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.