From 181fa6bdd42d11c63b0f22e64f9b1903e63245d4 Mon Sep 17 00:00:00 2001 From: Daniel Garcia-Sanchez Date: Sun, 26 Aug 2018 16:07:28 +0200 Subject: [PATCH] Use generic container for write_dataset --- include/deal.II/base/hdf5.h | 19 ++--------- source/base/hdf5.cc | 64 ++++++++++++++++++++++--------------- source/base/hdf5.inst.in | 11 ++++--- 3 files changed, 47 insertions(+), 47 deletions(-) diff --git a/include/deal.II/base/hdf5.h b/include/deal.II/base/hdf5.h index 484065eb5c..6a36845cfb 100644 --- a/include/deal.II/base/hdf5.h +++ b/include/deal.II/base/hdf5.h @@ -651,24 +651,9 @@ namespace HDF5 * Transfer: Datatype Conversion and Selection section in the HDF5 * User's Guide. */ - template - void - write_dataset(const std::string name, - const std::vector &data) const; - - /** - * Creates and writes data to a dataset. Number can be double, int, unsigned - * int, bool 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