From d489be385dc1b6202fe9dc911d646824bba93d4d Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 10 Mar 2023 14:25:35 -0700 Subject: [PATCH] Minor improvement to an error message about an unsupported case. --- source/base/data_out_base.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/base/data_out_base.cc b/source/base/data_out_base.cc index 6b54f851b1..8365a7b105 100644 --- a/source/base/data_out_base.cc +++ b/source/base/data_out_base.cc @@ -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), -- 2.39.5