]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add error message to GridIn::ExcNoTriangulationSelected 12063/head
authorPeter Munch <peterrmuench@gmail.com>
Tue, 20 Apr 2021 05:50:49 +0000 (07:50 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Tue, 20 Apr 2021 13:31:56 +0000 (15:31 +0200)
include/deal.II/grid/grid_in.h

index 31d658530ee3348121caca97cebcf1a14c4927a7..494fa93d267fa75166decefd9b3b0c173eb53bd6 100644 (file)
@@ -754,7 +754,12 @@ public:
   /**
    * Exception
    */
-  DeclException0(ExcNoTriangulationSelected);
+  DeclExceptionMsg(ExcNoTriangulationSelected,
+                   "No Triangulation has been attached to this GridIn object "
+                   "so that nothing can be filled during any read function "
+                   "calls.  Please pass a reference to the Triangulation tria "
+                   "to be  filled in the constructor GridIn(tria) or attach "
+                   "it with the function call GridIn::attach_triangulation().");
   /**
    * Exception
    */

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.