]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix data out test
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 19 Feb 2014 12:51:46 +0000 (12:51 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 19 Feb 2014 12:51:46 +0000 (12:51 +0000)
git-svn-id: https://svn.dealii.org/trunk@32512 0785d39b-7218-0410-832d-ea1e28bc413d

tests/bits/data_out_01.cc

index 22e4b08b503ff31b15c2f6ee374636781ce50431..d0878b547f0623c78372c68b806e3591d804ccfd 100644 (file)
@@ -32,8 +32,8 @@ check_this (const DoFHandler<dim> &dof_handler,
 {
   DataOut<dim> data_out;
   data_out.attach_dof_handler (dof_handler);
-  data_out.add_data_vector (v_node, "node_data");
-  data_out.add_data_vector (v_cell, "cell_data");
+  data_out.add_data_vector (v_node, "node_data", DataOut_DoFData<DoFHandler<dim>,dim,dim>::type_dof_data);
+  data_out.add_data_vector (v_cell, "cell_data", DataOut_DoFData<DoFHandler<dim>,dim,dim>::type_cell_data);
   data_out.build_patches ();
 
   data_out.write_dx (deallog.get_file_stream());

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.