1
0
Fork 0
mirror of https://github.com/cosmo-sims/monofonIC.git synced 2024-09-19 17:03:45 +02:00

Add md5sum filter to the outputs of the SWIFT plugin

This commit is contained in:
Matthieu Schaller 2021-05-30 00:20:52 +02:00
parent cc1709304a
commit 0b6f7e2501

View file

@ -943,8 +943,8 @@ inline void HDFCreateEmptyDatasetVector( const std::string Filename, const std::
if (filter)
{
// 1MB chunking
hsize_t HDF_Dims[2] = {1024 * 1024 / sizeof(T), 3};
// ~1MB chunking
hsize_t HDF_Dims[2] = {256 * 1024 / sizeof(T), 3};
H5Pset_chunk(HDF_Prop, 2, HDF_Dims);
// md5 checksum