]> https://gitweb.dealii.org/ - dealii.git/commitdiff
step-70: add missing compress() call 10277/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 19 May 2020 13:45:35 +0000 (09:45 -0400)
committerDavid Wells <drwells@email.unc.edu>
Tue, 19 May 2020 15:40:42 +0000 (11:40 -0400)
fixes #10270

examples/step-70/step-70.cc

index 7ab7f5faff639dd8c16da9a9b509350f2bb4ee0a..89c7c52053268f618bed221e3b379e97791bbde4 100644 (file)
@@ -1551,6 +1551,9 @@ namespace Step70
                                                system_rhs);
         particle = pic.end();
       }
+
+    system_matrix.compress(VectorOperation::add);
+    system_rhs.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.