From a9584d8c44bc7b0753f8cd9ec3cf1660527cdc8e Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 29 Apr 2016 16:42:49 -0500 Subject: [PATCH] Improve an error message. --- include/deal.II/numerics/vector_tools.templates.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/deal.II/numerics/vector_tools.templates.h b/include/deal.II/numerics/vector_tools.templates.h index 66980c7505..dbf4030aab 100644 --- a/include/deal.II/numerics/vector_tools.templates.h +++ b/include/deal.II/numerics/vector_tools.templates.h @@ -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.")); } } } -- 2.39.5