From: Daniel Garcia-Sanchez Date: Mon, 13 Aug 2018 16:34:04 +0000 (+0200) Subject: Add functions X-Git-Tag: v9.1.0-rc1~453^2~69 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3194442d34e6c9a0d3efe85f997323c1ab58ec6a;p=dealii.git Add functions Add read_data() function Add io_mode() and check_io_mode() functions Add local_no_collective_cause() and global_no_collective_cause() --- diff --git a/include/deal.II/base/hdf5.h b/include/deal.II/base/hdf5.h index c396d105f3..9bc30e8ac2 100644 --- a/include/deal.II/base/hdf5.h +++ b/include/deal.II/base/hdf5.h @@ -110,17 +110,6 @@ DEAL_II_NAMESPACE_OPEN namespace HDF5 { - namespace internal - { - // This function gives the HDF5 datatype corresponding to the C++ type. In - // the case of std::complex types the HDF5 handlers are automatically freed - // using the destructor of std::shared_ptr. - template - std::shared_ptr - get_hdf5_datatype(); - } // namespace internal - - /** * General class for the HDF5 objects. * @@ -199,7 +188,21 @@ namespace HDF5 public: /** - * Writes data in the dataset. T can be double, int, unsigned int, bool + * Reads data of the dataset. T 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