]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improve DataOutDoFData error message ExcInvalidVectorSize 10768/head
authorDaniel Arndt <arndtd@ornl.gov>
Thu, 30 Jul 2020 12:48:27 +0000 (08:48 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 30 Jul 2020 12:50:39 +0000 (08:50 -0400)
include/deal.II/numerics/data_out_dof_data.h

index 8630f7664ba177ac27aee924f1a92abc453e0109..c326b475fa61a549dc496605fad4a9d149c3287c 100644 (file)
@@ -87,8 +87,10 @@ namespace Exceptions
                    << " but the DoFHandler object says that there are " << arg2
                    << " degrees of freedom and there are " << arg3
                    << " active cells. The size of your vector needs to be"
-                   << " either equal to the number of degrees of freedom, or"
-                   << " equal to the number of active cells.");
+                   << " either equal to the number of degrees of freedom (when"
+                   << " the data is of type type_dof_data), or equal to the"
+                   << " number of active cells (when the data is of type "
+                   << " type_cell_data).");
     /**
      * 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.