From 84f585073bf883f5213a0d78fc6c946bd4eba154 Mon Sep 17 00:00:00 2001 From: Daniel Garcia-Sanchez Date: Sat, 18 Aug 2018 20:30:51 +0200 Subject: [PATCH] Rename read_data() to read() and write_data() to write() --- include/deal.II/base/hdf5.h | 24 ++++---- source/base/hdf5.cc | 111 ++++++++++++++++++------------------ 2 files changed, 67 insertions(+), 68 deletions(-) diff --git a/include/deal.II/base/hdf5.h b/include/deal.II/base/hdf5.h index bf01eaeb01..768135eeb9 100644 --- a/include/deal.II/base/hdf5.h +++ b/include/deal.II/base/hdf5.h @@ -72,20 +72,20 @@ DEAL_II_NAMESPACE_OPEN * // The displacement_data vector is local. The coordinates vector corresponds * // to the coordinates of the data in the hdf5 dataset. * if (coordinates.size() > 0) { - * displacement.write_data_selection(displacement_data, coordinates); + * displacement.write_selection(displacement_data, coordinates); * } else { * // Even if this MPI process has no displacement data to write, * // it has to contribute to the collective call - * displacement.write_data_none(); + * displacement.write_none(); * } * * // ... do some calculations ... * // The whole frequency dataset can be written by one single MPI process, * // but the rest of the processes have to contribute to the collective call * if (Utilities::MPI::this_mpi_process(mpi_communicator) == 0) { - * frequency_dataset.write_data(frequency); + * frequency_dataset.write(frequency); * } else { - * frequency_dataset.write_data_none(); + * frequency_dataset.write_none(); * } * * // Write the simulation metadata @@ -199,7 +199,7 @@ namespace HDF5 */ template