From: Wolfgang Bangerth Date: Wed, 13 Mar 2019 18:26:27 +0000 (-0600) Subject: Improve the error text of an assertion. X-Git-Tag: v9.1.0-rc1~288^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bda43589a278cb5e2a20ce0698744341c9ab394;p=dealii.git Improve the error text of an assertion. --- diff --git a/include/deal.II/numerics/vector_tools.templates.h b/include/deal.II/numerics/vector_tools.templates.h index aebdafb337..5e024874eb 100644 --- a/include/deal.II/numerics/vector_tools.templates.h +++ b/include/deal.II/numerics/vector_tools.templates.h @@ -2947,7 +2947,12 @@ namespace VectorTools ExcMessage( "This function can only deal with requested boundary " "values that correspond to primitive (scalar) base " - "elements")); + "elements. You may want to look up in the deal.II " + "glossary what the term 'primitive' means." + "\n\n" + "There are alternative boundary value interpolation " + "functions in namespace 'VectorTools' that you can " + "use for non-primitive finite elements.")); } const typename DoFHandlerType::face_iterator