From 6dbeae90a6449ea0e865070ffc5737bf01280269 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Sat, 22 May 2021 16:04:29 +0200 Subject: [PATCH] Continue --- .../multigrid/mg_transfer_global_coarsening.templates.h | 6 ++++++ 1 file changed, 6 insertions(+) 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); -- 2.39.5