]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Removed deprecated call to `write_hdf5_parallel`.
authorDavid Wells <drwells@vt.edu>
Sat, 21 Feb 2015 17:04:21 +0000 (12:04 -0500)
committerDavid Wells <drwells@vt.edu>
Sat, 21 Feb 2015 17:04:21 +0000 (12:04 -0500)
This function has been superceded by one with the same name that
requires an additional parameter.

tests/mpi/data_out_hdf5_01.cc

index 82ec640629c9c8d54f4616ddd1e9a584e4e794b9..0b424ca1f7017b1dea37c9c8443d299e42ddc8df 100644 (file)
@@ -49,10 +49,13 @@ test ()
   data_out.add_data_vector (dof1, v1, "linear");
   data_out.build_patches (2);
 
-  data_out.write_hdf5_parallel ("out.h5", MPI_COMM_WORLD);
+  DataOutBase::DataOutFilter data_filter
+  (DataOutBase::DataOutFilterFlags (false, false));
+  data_out.write_filtered_data (data_filter);
+  data_out.write_hdf5_parallel (data_filter, "out.h5", MPI_COMM_WORLD);
   std::vector<XDMFEntry> xdmf_entries;
-  xdmf_entries.push_back(
-    data_out.create_xdmf_entry("out.h5", 0, MPI_COMM_WORLD));
+  xdmf_entries.push_back
+  (data_out.create_xdmf_entry (data_filter, "out.h5", 0, MPI_COMM_WORLD));
 
   data_out.write_xdmf_file(xdmf_entries, "out.xdmf",
                           MPI_COMM_WORLD);

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.