]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improve an error message. 2565/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 29 Apr 2016 21:42:49 +0000 (16:42 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 29 Apr 2016 21:42:49 +0000 (16:42 -0500)
include/deal.II/numerics/vector_tools.templates.h

index 66980c7505881974f867614db51d180f0be17218..dbf4030aabc54a11aee4baf69b5c25a557809c5f 100644 (file)
@@ -2343,7 +2343,12 @@ namespace VectorTools
                       level = cell->level();
                     else
                       {
-                        Assert (level == cell->level(), ExcNotImplemented());
+                        Assert (level == cell->level(),
+                                ExcMessage("The mesh you use in projecting boundary values "
+                                           "has hanging nodes at the boundary. This would require "
+                                           "dealing with hanging node constraints when solving "
+                                           "the linear system on the boundary, but this is not "
+                                           "currently implemented."));
                       }
                   }
               }

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.