From: Peter Munch Date: Thu, 1 Jul 2021 13:04:32 +0000 (+0200) Subject: Use prolongate_and_add() in Multigrid::level_v_step() X-Git-Tag: v9.4.0-rc1~1173^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12530%2Fhead;p=dealii.git Use prolongate_and_add() in Multigrid::level_v_step() --- diff --git a/include/deal.II/multigrid/multigrid.templates.h b/include/deal.II/multigrid/multigrid.templates.h index b8a7f3ba6e..d8f40db0f2 100644 --- a/include/deal.II/multigrid/multigrid.templates.h +++ b/include/deal.II/multigrid/multigrid.templates.h @@ -139,11 +139,9 @@ Multigrid::level_v_step(const unsigned int level) // do coarse grid correction this->signals.prolongation(true, level); - transfer->prolongate(level, t[level], solution[level - 1]); + transfer->prolongate_and_add(level, solution[level], solution[level - 1]); this->signals.prolongation(false, level); - solution[level] += t[level]; - // get in contribution from edge matrices to the defect if (edge_in != nullptr) {