]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
add a missing compress in multigrid
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 26 May 2013 15:40:11 +0000 (15:40 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 26 May 2013 15:40:11 +0000 (15:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@29608 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/multigrid/mg_transfer.templates.h

index eac5bb03d76df363b9400f6e0b531dbca63f834d..a854e92e76269e229eda3593ac51e765f3a81020 100644 (file)
@@ -161,6 +161,8 @@ MGTransferPrebuilt<VECTOR>::copy_to_mg (
            i != copy_indices[level].end(); ++i)
         dst_level(i->second) = src(i->first);
 
+      dst_level.compress(VectorOperation::insert);
+
       // For non-DG: degrees of
       // freedom in the refinement
       // face may need special

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.