]> https://gitweb.dealii.org/ - dealii.git/commitdiff
VectorTools::interpolate_to_different_mesh: insert compress needed for PETSc parallel... 1163/head
authormsteigemann <msteigemann@yahoo.de>
Sun, 19 Jul 2015 20:22:11 +0000 (22:22 +0200)
committermsteigemann <msteigemann@yahoo.de>
Sun, 19 Jul 2015 20:22:11 +0000 (22:22 +0200)
include/deal.II/numerics/vector_tools.templates.h

index 3995bea746e6010db73e240286d0ea1b07a711e8..50b9a2cfca140704aabb3b0239999435f594b5bb 100644 (file)
@@ -672,6 +672,8 @@ namespace VectorTools
         cell2->set_dof_values_by_interpolation(cache, u2);
       }
 
+    // finish the work on parallel vectors
+    u2.compress (VectorOperation::insert);
     // Apply hanging node constraints.
     constraints.distribute(u2);
   }

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.