]> https://gitweb.dealii.org/ - dealii.git/commitdiff
allow coarse DH with more DoFs than fine DH 15364/head
authorJohannes Heinz <johannes.heinz@tuwien.ac.at>
Thu, 15 Jun 2023 18:22:10 +0000 (20:22 +0200)
committerJohannes Heinz <johannes.heinz@tuwien.ac.at>
Thu, 15 Jun 2023 18:22:10 +0000 (20:22 +0200)
include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h

index e006b130fd00bb29d3ddcc3350358bfbfd8b64eb..7b57063f74f6674658675b20166056a5a253d125 100644 (file)
@@ -3827,9 +3827,6 @@ MGTwoLevelTransferNonNested<dim, LinearAlgebra::distributed::Vector<Number>>::
   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;

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.