]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improve a couple of error messages that weren't quite clear. 4848/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 14 Aug 2017 22:32:10 +0000 (16:32 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 14 Aug 2017 22:32:10 +0000 (16:32 -0600)
source/dofs/dof_handler_policy.cc

index 5e3ac54c98947e93eba149fca87acbb7fedab585..508f0c188dad34c89a555b980bde0a81777693bc 100644 (file)
@@ -3750,11 +3750,17 @@ namespace internal
                   {
                     if (cell->is_ghost())
                       {
-                        Assert(false, ExcMessage ("Not a ghost cell"));
+                        Assert(false,
+                               ExcMessage ("A ghost cell ended up with incomplete "
+                                           "DoF index information. This should not "
+                                           "have happened!"));
                       }
                     else
                       {
-                        Assert(false, ExcMessage ("Not one of our own cells"));
+                        Assert(false,
+                               ExcMessage ("A locally owned cell ended up with incomplete "
+                                           "DoF index information. This should not "
+                                           "have happened!"));
                       }
                   }
               }

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.