From: Martin Kronbichler Date: Tue, 23 Jul 2024 21:04:48 +0000 (+0200) Subject: MGTwoLevelTransfer: Add forgotten function X-Git-Tag: v9.6.0-rc1~6^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F17369%2Fhead;p=dealii.git MGTwoLevelTransfer: Add forgotten function --- diff --git a/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h b/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h index f400fd03fb..fc502edd3f 100644 --- a/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h +++ b/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h @@ -3157,7 +3157,7 @@ MGTwoLevelTransfer::prolongate_and_add_internal( ++i) eval_fine.begin_dof_values()[i] *= cell_weights[i]; } - eval_fine.distribute_local_to_global(dst); + eval_fine.distribute_local_to_global_unconstrained(dst); } } }, @@ -3365,7 +3365,7 @@ MGTwoLevelTransfer::restrict_and_add_internal( eval_coarse.reinit( matrix_free_data->cell_list_fine_to_coarse[cell]); - eval_fine.read_dof_values(src); + eval_fine.read_dof_values_unconstrained(src); if (weights.size() > 0) { const VectorizedArrayType *cell_weights = @@ -3560,7 +3560,7 @@ MGTwoLevelTransfer::interpolate(VectorType &dst, eval_coarse.reinit( matrix_free_data->cell_list_fine_to_coarse[cell]); - eval_fine.read_dof_values(src); + eval_fine.read_dof_values_unconstrained(src); if (schemes[0].restriction_matrix.empty() == false) {