]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Also synchronise writing into vectors.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 5 May 2005 18:55:36 +0000 (18:55 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 5 May 2005 18:55:36 +0000 (18:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@10649 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/matrices.all_dimensions.cc

index eafd20c890ecf77044158b2b092efcadfd2cb6d7..749d09f25e077e3cd1bf92b52cc563337c0ffc05 100644 (file)
@@ -637,6 +637,8 @@ namespace PETScWrappers
                                            // in the other functions.
     {
       matrix.compress ();
+      right_hand_side.compress ();
+      solution.compress ();
 
       std::map<unsigned int,double>::const_iterator
         dof  = boundary_values.begin(),

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.