From: Peter Munch Date: Fri, 2 Jul 2021 07:13:00 +0000 (+0200) Subject: Improve an asser message in DoFAccessorImplementation X-Git-Tag: v9.4.0-rc1~1169^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12536%2Fhead;p=dealii.git Improve an asser message in DoFAccessorImplementation --- 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() +