From: Daniel Garcia-Sanchez Date: Mon, 6 Apr 2020 20:46:47 +0000 (+0200) Subject: Output results as a complex-valued vector X-Git-Tag: v9.2.0-rc1~282^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97e69301ab27a1409f902d92147e822511dd7741;p=dealii.git Output results as a complex-valued vector --- diff --git a/examples/step-62/step-62.cc b/examples/step-62/step-62.cc index 02ac339dea..91dc9cadfc 100644 --- a/examples/step-62/step-62.cc +++ b/examples/step-62/step-62.cc @@ -1105,17 +1105,10 @@ namespace step62 // been described in step-40. if (parameters.save_vtu_files) { - std::vector solution_names(1, "displacement_x"); - if (dim >= 2) - { - solution_names.emplace_back("displacement_y"); - } - if (dim == 3) - { - solution_names.emplace_back("displacement_z"); - } + std::vector solution_names(dim, "displacement"); std::vector - interpretation(dim, DataComponentInterpretation::component_is_scalar); + interpretation( + dim, DataComponentInterpretation::component_is_part_of_vector); DataOut data_out; data_out.add_data_vector(dof_handler,