From c93da4f829c58dd5fc07de4c144613ea8c676af8 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Fri, 2 Jul 2021 09:13:00 +0200 Subject: [PATCH] Improve an asser message in DoFAccessorImplementation --- include/deal.II/dofs/dof_accessor.templates.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/deal.II/dofs/dof_accessor.templates.h b/include/deal.II/dofs/dof_accessor.templates.h index ea4b6f17da..1f3c77bc6c 100644 --- a/include/deal.II/dofs/dof_accessor.templates.h +++ b/include/deal.II/dofs/dof_accessor.templates.h @@ -295,7 +295,9 @@ namespace internal Assert(ptr != dof_handler.hp_object_fe_indices[structdim].begin() + dof_handler.hp_object_fe_ptr[structdim][obj_index + 1], - ExcNotImplemented()); + ExcMessage( + "You are requesting an active_fe_index that is not assigned " + "to any of the cells connected to this entity.")); const unsigned int fe_index_ = std::distance(dof_handler.hp_object_fe_indices[structdim].begin() + -- 2.39.5