]> https://gitweb.dealii.org/ - dealii.git/commitdiff
step-70: add missing compress() call 10271/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 19 May 2020 13:45:35 +0000 (09:45 -0400)
committerTimo Heister <timo.heister@gmail.com>
Tue, 19 May 2020 13:46:52 +0000 (09:46 -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.