From: Timo Heister Date: Wed, 22 Jan 2020 01:50:45 +0000 (-0500) Subject: step-12: use add_data_vector with DoFHandler X-Git-Tag: v9.2.0-rc1~618^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=395b76413afc4da75f9467014935679a626f5a23;p=dealii.git step-12: use add_data_vector with DoFHandler Otherwise data output breaks if you switch to DG(0) (cell vs dof dataout). --- diff --git a/examples/step-12/step-12.cc b/examples/step-12/step-12.cc index 1a4ff62df8..635729254a 100644 --- a/examples/step-12/step-12.cc +++ b/examples/step-12/step-12.cc @@ -549,7 +549,7 @@ namespace Step12 DataOut data_out; data_out.attach_dof_handler(dof_handler); - data_out.add_data_vector(solution, "u"); + data_out.add_data_vector(solution, "u", DataOut::type_dof_data); data_out.build_patches();