From 395b76413afc4da75f9467014935679a626f5a23 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Tue, 21 Jan 2020 20:50:45 -0500 Subject: [PATCH] step-12: use add_data_vector with DoFHandler Otherwise data output breaks if you switch to DG(0) (cell vs dof dataout). --- examples/step-12/step-12.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5