]> https://gitweb.dealii.org/ - dealii.git/commitdiff
MGTwoLevelTransfer: Add forgotten function 17369/head
authorMartin Kronbichler <martin.kronbichler@rub.de>
Tue, 23 Jul 2024 21:04:48 +0000 (23:04 +0200)
committerMartin Kronbichler <martin.kronbichler@rub.de>
Tue, 23 Jul 2024 21:04:48 +0000 (23:04 +0200)
include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h

index f400fd03fbf1ef11a5f7a01116e23e9c9c079237..fc502edd3fb6b64facbfa68abc1fe4205ee57314 100644 (file)
@@ -3157,7 +3157,7 @@ MGTwoLevelTransfer<dim, VectorType>::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<dim, VectorType>::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<dim, VectorType>::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)
                 {

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.