]> https://gitweb.dealii.org/ - dealii.git/commitdiff
step-33 sync right_hand_side after assemble.
authorLei Qiao <qiaol618@gmail.com>
Sun, 12 Apr 2015 02:05:17 +0000 (21:05 -0500)
committerLei Qiao <qiaol618@gmail.com>
Sun, 12 Apr 2015 02:05:17 +0000 (21:05 -0500)
examples/step-33/step-33.cc

index 56ff286bf7202ca9952a241e8a441b9c772c02ba..4a580a21d312fe24154b9d572cd1fea45468b119 100644 (file)
@@ -1609,6 +1609,7 @@ namespace Step33
     // After all this assembling, notify the Trilinos matrix object that the
     // matrix is done:
     system_matrix.compress(VectorOperation::add);
+    right_hand_side.compress(VectorOperation::add);
   }
 
 

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.