]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improve an asser message in DoFAccessorImplementation 12536/head
authorPeter Munch <peterrmuench@gmail.com>
Fri, 2 Jul 2021 07:13:00 +0000 (09:13 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Fri, 2 Jul 2021 16:12:10 +0000 (18:12 +0200)
include/deal.II/dofs/dof_accessor.templates.h

index ea4b6f17da7362ef920ad026c64e2df35f2c6037..1f3c77bc6c3bf6aa82bb74891b816ea317e2f10a 100644 (file)
@@ -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() +

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.