From: Peter Munch Date: Sat, 22 May 2021 14:04:29 +0000 (+0200) Subject: Continue X-Git-Tag: v9.4.0-rc1~1292^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dbeae90a6449ea0e865070ffc5737bf01280269;p=dealii.git Continue --- 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 40587e8015..d8be9f5f47 100644 --- a/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h +++ b/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h @@ -1224,11 +1224,14 @@ namespace internal static void compute_weights( const MeshType & dof_handler_fine, + const unsigned int mg_level_fine, const dealii::AffineConstraints &constraint_fine, const MGTwoLevelTransfer> & transfer, LinearAlgebra::distributed::Vector &touch_count) { + (void)mg_level_fine; + LinearAlgebra::distributed::Vector touch_count_; touch_count.reinit(transfer.partitioner_fine); @@ -1682,6 +1685,7 @@ namespace internal // compute weights globally LinearAlgebra::distributed::Vector weight_vector; compute_weights(dof_handler_fine, + numbers::invalid_unsigned_int /*active level*/, constraint_fine, transfer, weight_vector); @@ -1761,6 +1765,7 @@ namespace internal mg_level_fine, mg_level_coarse); + // TODO: adjust assert AssertDimension( dof_handler_fine.get_triangulation().n_global_active_cells(), dof_handler_coarse.get_triangulation().n_global_active_cells()); @@ -2158,6 +2163,7 @@ namespace internal // compute weights globally LinearAlgebra::distributed::Vector weight_vector; compute_weights(dof_handler_fine, + mg_level_fine, constraint_fine, transfer, weight_vector);