From a98ae5e1541ced17899a6a6be8f5403b5754a267 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Thu, 11 Jul 2024 13:42:08 +0200 Subject: [PATCH] Clear ghost values in a vector --- examples/step-87/step-87.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/step-87/step-87.cc b/examples/step-87/step-87.cc index aeee8d067c..5d51f55fc9 100644 --- a/examples/step-87/step-87.cc +++ b/examples/step-87/step-87.cc @@ -831,6 +831,7 @@ namespace Step87 VectorTools::point_values(rpe, dof_handler_background, velocity); + velocity.zero_out_ghost_values(); for (unsigned int i = 0, c = 0; i < immersed_support_points.locally_owned_size() / dim; -- 2.39.5