From: Wolfgang Bangerth Date: Thu, 6 Aug 2020 22:59:44 +0000 (-0600) Subject: Fix bug in DataPostprocessorTensor. X-Git-Tag: v9.3.0-rc1~1208^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dd8b45cfb8136dc543949fe30bff6b0b63d5921;p=dealii.git Fix bug in DataPostprocessorTensor. Specifically, the class currently states that the components it outputs are scalars, when the whole intent of the class is of course to output its result as a tensor field. --- diff --git a/source/numerics/data_postprocessor.cc b/source/numerics/data_postprocessor.cc index 3fa5f63854..791ef72ec3 100644 --- a/source/numerics/data_postprocessor.cc +++ b/source/numerics/data_postprocessor.cc @@ -166,7 +166,7 @@ std::vector DataPostprocessorTensor::get_data_component_interpretation() const { return std::vector( - dim * dim, DataComponentInterpretation::component_is_scalar); + dim * dim, DataComponentInterpretation::component_is_part_of_tensor); }