]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fixed ConstraintMatrix::distribute() when a CPU has no own DoFs
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 30 Aug 2011 14:43:11 +0000 (14:43 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 30 Aug 2011 14:43:11 +0000 (14:43 +0000)
git-svn-id: https://svn.dealii.org/trunk@24214 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/constraint_matrix.cc

index 5f9eb71580494051eb74b476075982c32081403f..cd6872efe3a116fb76d3123faea023ffe9d04ff0 100644 (file)
@@ -2092,9 +2092,6 @@ ConstraintMatrix::distribute (PETScWrappers::MPI::Vector &vec) const
       vec(it->line) = new_value;
     }
 
-                                  // force every processor to write something
-  vec(local_range.first) = vec(local_range.first);
-
   vec.compress ();
 }
 

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.