From 028fd8fe72c7a95a7cfadc2dfee127af31b9911a Mon Sep 17 00:00:00 2001 From: Daniel Garcia-Sanchez Date: Sat, 18 Aug 2018 15:28:04 +0200 Subject: [PATCH] Use generic Container for write_data and write_data_hyperslab --- include/deal.II/base/hdf5.h | 40 +------- source/base/hdf5.cc | 195 +++++++++++++++++------------------- 2 files changed, 94 insertions(+), 141 deletions(-) diff --git a/include/deal.II/base/hdf5.h b/include/deal.II/base/hdf5.h index 9bc30e8ac2..bf01eaeb01 100644 --- a/include/deal.II/base/hdf5.h +++ b/include/deal.II/base/hdf5.h @@ -211,23 +211,9 @@ namespace HDF5 * Transfer: Datatype Conversion and Selection" section in the HDF5 * User's Guide. */ - template - void - write_data(const std::vector &data); - - /** - * Writes data in the dataset. T can be double, int, unsigned int, - * or std::complex. - * - * Datatype conversion takes place at the time of a read or write and is - * automatic. See the "Data - * Transfer: Datatype Conversion and Selection" section in the HDF5 - * User's Guide. - */ - template + template