]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improve the error text of an assertion. 7805/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 13 Mar 2019 18:26:27 +0000 (12:26 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 13 Mar 2019 18:26:27 +0000 (12:26 -0600)
include/deal.II/numerics/vector_tools.templates.h

index aebdafb33768869b55e601a2aae267386c35f874..5e024874eb18eaf48628569f7828a08e63f95b0b 100644 (file)
@@ -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<dim, spacedim>::face_iterator

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.