From: Johannes Heinz Date: Thu, 15 Jun 2023 18:22:10 +0000 (+0200) Subject: allow coarse DH with more DoFs than fine DH X-Git-Tag: v9.5.0-rc1~104^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05b93217d73008f5c80feebbba8db2b940136f42;p=dealii.git allow coarse DH with more DoFs than fine DH --- 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 e006b130fd..7b57063f74 100644 --- a/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h +++ b/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h @@ -3827,9 +3827,6 @@ MGTwoLevelTransferNonNested>:: Assert(dof_handler_coarse.get_fe().n_components() > 0 && dof_handler_fine.get_fe().n_components() > 0, ExcNotImplemented()); - Assert(dof_handler_fine.n_dofs() > dof_handler_coarse.n_dofs(), - ExcMessage( - "The coarser DoFHandler has more DoFs than the finer DoFHandler.")); this->fine_element_is_continuous = dof_handler_fine.get_fe().n_dofs_per_vertex() > 0;