hemocell
Loading...
Searching...
No Matches
hdf5Output.h
Go to the documentation of this file.
1/*
2This file is part of the HemoCell library
3
4HemoCell is developed and maintained by the Computational Science Lab
5in the University of Amsterdam. Any questions or remarks regarding this library
6can be sent to: info@hemocell.eu
7
8When using the HemoCell library in scientific work please cite the
9corresponding paper: https://doi.org/10.3389/fphys.2017.00563
10
11The HemoCell library is free software: you can redistribute it and/or
12modify it under the terms of the GNU Affero General Public License as
13published by the Free Software Foundation, either version 3 of the
14License, or (at your option) any later version.
15
16The library is distributed in the hope that it will be useful,
17but WITHOUT ANY WARRANTY; without even the implied warranty of
18MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19GNU Affero General Public License for more details.
20
21You should have received a copy of the GNU Affero General Public License
22along with this program. If not, see <http://www.gnu.org/licenses/>.
23*/
24#ifndef HEMO_HDF5_OUTPUT_H
25#define HEMO_HDF5_OUTPUT_H
26
27#include <hdf5.h>
28
29#include <string>
30
31namespace hemo {
32
36constexpr unsigned int outputDeflateLevel = 4;
37
51void writeCompressedDataset(hid_t file, const std::string & name, hid_t type, int rank, const hsize_t * dims,
52 const hsize_t * chunk, const void * data);
53
54} // namespace hemo
55#endif
Definition config.cpp:37
void writeCompressedDataset(hid_t file, const std::string &name, hid_t type, int rank, const hsize_t *dims, const hsize_t *chunk, const void *data)
Create the dataset name in file and write data to it, chunked, byte-shuffled and deflate-compressed.
Definition hdf5Output.cpp:28
constexpr unsigned int outputDeflateLevel
Definition hdf5Output.h:36