| 1 | /* |
| 2 | * HDF5_writer.hpp |
| 3 | * |
| 4 | * Created on: May 1, 2017 |
| 5 | * Author: i-bird |
| 6 | */ |
| 7 | |
| 8 | #ifndef OPENFPM_IO_SRC_HDF5_WR_HDF5_WRITER_HPP_ |
| 9 | #define OPENFPM_IO_SRC_HDF5_WR_HDF5_WRITER_HPP_ |
| 10 | |
| 11 | |
| 12 | #include "VCluster/VCluster.hpp" |
| 13 | #include "hdf5.h" |
| 14 | |
| 15 | template <unsigned int type> |
| 16 | class HDF5_writer |
| 17 | { |
| 18 | |
| 19 | void save() |
| 20 | { |
| 21 | std::cerr << __FILE__ << ":" << __LINE__ << " Error: we do not know how to write this type of data" << std::endl; |
| 22 | } |
| 23 | |
| 24 | }; |
| 25 | |
| 26 | #include "HDF5_writer_vd.hpp" |
| 27 | #include "HDF5_writer_gd.hpp" |
| 28 | |
| 29 | #endif /* OPENFPM_IO_SRC_HDF5_WR_HDF5_WRITER_HPP_ */ |
| 30 | |