]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Minor improvement to an error message about an unsupported case. 14875/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 10 Mar 2023 21:25:35 +0000 (14:25 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 10 Mar 2023 21:25:35 +0000 (14:25 -0700)
source/base/data_out_base.cc

index 6b54f851b1562bde61d4f62de4b1c34eb813b22e..8365a7b10524b626b3b1d90d3b2191518a234eea 100644 (file)
@@ -5481,7 +5481,9 @@ namespace DataOutBase
       {
         AssertThrow(std::get<3>(nonscalar_data_range) !=
                       DataComponentInterpretation::component_is_part_of_tensor,
-                    ExcNotImplemented());
+                    ExcMessage(
+                      "The VTK writer does not currently support outputting "
+                      "tensor data. Use the VTU writer instead."));
 
         AssertThrow(std::get<1>(nonscalar_data_range) >=
                       std::get<0>(nonscalar_data_range),

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.