From 008d9ee77f0db8f7bcdc4af0febfd7b1f223084b Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Tue, 15 Oct 2019 12:52:08 +0200 Subject: [PATCH] Document unsupported MG refinement edges for matrix-free DG --- include/deal.II/matrix_free/face_setup_internal.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/deal.II/matrix_free/face_setup_internal.h b/include/deal.II/matrix_free/face_setup_internal.h index b438b23a00..cc48d465f6 100644 --- a/include/deal.II/matrix_free/face_setup_internal.h +++ b/include/deal.II/matrix_free/face_setup_internal.h @@ -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(); -- 2.39.5