]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improve error message. 15104/head
authorMarc Fehling <mafehling.git@gmail.com>
Wed, 5 Apr 2023 22:20:40 +0000 (16:20 -0600)
committerMarc Fehling <mafehling.git@gmail.com>
Mon, 17 Apr 2023 18:04:20 +0000 (12:04 -0600)
include/deal.II/dofs/dof_accessor.templates.h

index 9a73ca7f2eb122261585be264c5326562146e857..404b861ba44f43d81ab223e81d4e1565ac778b8b 100644 (file)
@@ -437,7 +437,7 @@ namespace internal
         Assert(fe_index_local_ptr !=
                  dof_handler.hp_object_fe_indices[structdim].begin() +
                    dof_handler.hp_object_fe_ptr[structdim][obj_index + 1],
-               ExcNotImplemented());
+               ExcMessage("Call distribute_dofs() first."));
 
         const types::fe_index fe_index_local =
           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.