]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Document unsupported MG refinement edges for matrix-free DG 8910/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 15 Oct 2019 10:52:08 +0000 (12:52 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 15 Oct 2019 10:57:20 +0000 (12:57 +0200)
include/deal.II/matrix_free/face_setup_internal.h

index b438b23a00d0258153c0d4447dd63332741365a7..cc48d465f638417eda0cac8a0370a1d630eebeaa 100644 (file)
@@ -898,6 +898,10 @@ namespace internal
                                 if (face_is_owned[dcell->face(f)->index()] ==
                                     FaceCategory::locally_active_done_here)
                                   {
+                                    Assert(use_active_cells ||
+                                             dcell->level() ==
+                                               neighbor->level(),
+                                           ExcInternalError());
                                     ++inner_counter;
                                     inner_faces.push_back(create_face(
                                       f,
@@ -947,6 +951,9 @@ namespace internal
           task_info.boundary_partition_data[partition + 1] =
             task_info.boundary_partition_data[partition] + boundary_counter;
         }
+      Assert(refinement_edge_faces.empty(),
+             ExcNotImplemented("Setting up data structures on MG levels with "
+                               "hanging nodes is currently not supported."));
       task_info.ghost_face_partition_data.resize(2);
       task_info.ghost_face_partition_data[0] = 0;
       task_info.ghost_face_partition_data[1] = inner_ghost_faces.size();

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.