]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove instantiations
authorDaniel Garcia-Sanchez <daniel.garcia-sanchez@insp.upmc.fr>
Tue, 11 Aug 2020 07:52:38 +0000 (09:52 +0200)
committerDaniel Garcia-Sanchez <daniel.garcia-sanchez@insp.upmc.fr>
Tue, 11 Aug 2020 07:52:38 +0000 (09:52 +0200)
source/base/hdf5.cc

index 03cb3e68204220263aaee2e8ee28fb16027e30e6..5e6fab8e0c23559b45cd65b743d6525703f1f165 100644 (file)
@@ -1475,139 +1475,7 @@ namespace HDF5
     (void)ret;
     (void)mpi_communicator;
   }
-
-
-
-#  ifndef DOXYGEN
-
-  // instantiations of functions
-
-#    include "hdf5.inst"
-
-  // Instantiations for int and unsigned int can be found below. Only
-  // std::vector is provided with instantiations with int and unsigned int.
-  // Instantiations of FullMatrix and Vector are provided with float, double,
-  // std::complex<float> and std::complex<double> in hdf5.inst
-
-  template int
-  HDF5Object::get_attribute<int>(const std::string &attr_name) const;
-  template unsigned int
-  HDF5Object::get_attribute<unsigned int>(const std::string &attr_name) const;
-  // The specializations of HDF5Object::get_attribute<std::string>
-  // and HDF5Object::get_attribute<bool> have been defined above
-
-  template void
-  HDF5Object::set_attribute<int>(const std::string &attr_name, int value);
-  template void
-  HDF5Object::set_attribute<unsigned int>(const std::string &attr_name,
-                                          unsigned int       value);
-
-  template std::vector<int>
-  DataSet::read<std::vector<int>>();
-  template std::vector<unsigned int>
-  DataSet::read<std::vector<unsigned int>>();
-
-  template std::vector<int>
-  DataSet::read_selection<std::vector<int>>(
-    const std::vector<hsize_t> &coordinates);
-  template std::vector<unsigned int>
-  DataSet::read_selection<std::vector<unsigned int>>(
-    const std::vector<hsize_t> &coordinates);
-
-  template std::vector<int>
-  DataSet::read_hyperslab<std::vector<int>>(const std::vector<hsize_t> &offset,
-                                            const std::vector<hsize_t> &count);
-  template std::vector<unsigned int>
-  DataSet::read_hyperslab<std::vector<unsigned int>>(
-    const std::vector<hsize_t> &offset,
-    const std::vector<hsize_t> &count);
-
-  template std::vector<int>
-  DataSet::read_hyperslab<std::vector<int>>(
-    const std::vector<hsize_t> &data_dimensions,
-    const std::vector<hsize_t> &offset,
-    const std::vector<hsize_t> &stride,
-    const std::vector<hsize_t> &count,
-    const std::vector<hsize_t> &block);
-  template std::vector<unsigned int>
-  DataSet::read_hyperslab<std::vector<unsigned int>>(
-    const std::vector<hsize_t> &data_dimensions,
-    const std::vector<hsize_t> &offset,
-    const std::vector<hsize_t> &stride,
-    const std::vector<hsize_t> &count,
-    const std::vector<hsize_t> &block);
-
-  template void
-  DataSet::read_none<int>();
-  template void
-  DataSet::read_none<unsigned int>();
-
-  template void
-  DataSet::write<std::vector<int>>(const std::vector<int> &data);
-  template void
-  DataSet::write<std::vector<unsigned int>>(
-    const std::vector<unsigned int> &data);
-
-  template void
-  DataSet::write_selection<std::vector<int>>(
-    const std::vector<int> &    data,
-    const std::vector<hsize_t> &coordinates);
-  template void
-  DataSet::write_selection<std::vector<unsigned int>>(
-    const std::vector<unsigned int> &data,
-    const std::vector<hsize_t> &     coordinates);
-
-  template void
-  DataSet::write_hyperslab<std::vector<int>>(const std::vector<int> &    data,
-                                             const std::vector<hsize_t> &offset,
-                                             const std::vector<hsize_t> &count);
-  template void
-  DataSet::write_hyperslab<std::vector<unsigned int>>(
-    const std::vector<unsigned int> &data,
-    const std::vector<hsize_t> &     offset,
-    const std::vector<hsize_t> &     count);
-
-  template void
-  DataSet::write_hyperslab<std::vector<int>>(
-    const std::vector<int> &    data,
-    const std::vector<hsize_t> &data_dimensions,
-    const std::vector<hsize_t> &offset,
-    const std::vector<hsize_t> &stride,
-    const std::vector<hsize_t> &count,
-    const std::vector<hsize_t> &block);
-  template void
-  DataSet::write_hyperslab<std::vector<unsigned int>>(
-    const std::vector<unsigned int> &data,
-    const std::vector<hsize_t> &     data_dimensions,
-    const std::vector<hsize_t> &     offset,
-    const std::vector<hsize_t> &     stride,
-    const std::vector<hsize_t> &     count,
-    const std::vector<hsize_t> &     block);
-
-  template void
-  DataSet::write_none<int>();
-  template void
-  DataSet::write_none<unsigned int>();
-
-  template DataSet
-  Group::create_dataset<int>(const std::string &         name,
-                             const std::vector<hsize_t> &dimensions) const;
-  template DataSet
-  Group::create_dataset<unsigned int>(
-    const std::string &         name,
-    const std::vector<hsize_t> &dimensions) const;
-
-  template void
-  Group::write_dataset<std::vector<int>>(const std::string &     name,
-                                         const std::vector<int> &data) const;
-  template void
-  Group::write_dataset<std::vector<unsigned int>>(
-    const std::string &              name,
-    const std::vector<unsigned int> &data) const;
-
-#  endif // DOXYGEN
-
-} // namespace HDF5
+}
 
 DEAL_II_NAMESPACE_CLOSE
 

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.