From: msteigemann Date: Sun, 19 Jul 2015 20:22:11 +0000 (+0200) Subject: VectorTools::interpolate_to_different_mesh: insert compress needed for PETSc parallel... X-Git-Tag: v8.4.0-rc2~742^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1163%2Fhead;p=dealii.git VectorTools::interpolate_to_different_mesh: insert compress needed for PETSc parallel vectors --- diff --git a/include/deal.II/numerics/vector_tools.templates.h b/include/deal.II/numerics/vector_tools.templates.h index 3995bea746..50b9a2cfca 100644 --- a/include/deal.II/numerics/vector_tools.templates.h +++ b/include/deal.II/numerics/vector_tools.templates.h @@ -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); }