Commit 5ce2e98d authored by cheesema's avatar cheesema
Browse files

minor change to the example, that could have lead the compression encoder step...

minor change to the example, that could have lead the compression encoder step of the hdf5 not working
parent 8e472f21
......@@ -91,8 +91,8 @@ int runAPR(cmdLineOptions options) {
std::cout << "Writing the APR to hdf5..." << std::endl;
//feel free to change
unsigned int blosc_comp_type = 6; //Lizard Codec
unsigned int blosc_comp_level = 9;
unsigned int blosc_comp_type = BLOSC_ZSTD; //Lizard Codec
unsigned int blosc_comp_level = 4;
unsigned int blosc_shuffle = 1;
apr.apr_compress.set_compression_type(options.compress_type);
......
......@@ -116,6 +116,8 @@ inline uint64_t APRIterator::set_new_lzx(const uint16_t level,const uint16_t z,c
return this->current_particle_cell.global_index;
} else {
this->end_index = 0;
current_particle_cell.y = UINT16_MAX;
return UINT64_MAX;
}
......@@ -139,6 +141,8 @@ inline uint64_t APRIterator::set_new_lzx(const uint16_t level,const uint16_t z,c
return this->current_particle_cell.global_index;
} else {
this->end_index = 0;
current_particle_cell.y = UINT16_MAX;
return UINT64_MAX;
}
......
......@@ -312,6 +312,8 @@ uint64_t APRTreeIterator::set_new_lzx(const uint16_t level,const uint16_t z,cons
return this->current_particle_cell.global_index;
} else {
this->end_index = 0;
current_particle_cell.y = UINT16_MAX;
return UINT64_MAX;
}
......@@ -333,6 +335,8 @@ uint64_t APRTreeIterator::set_new_lzx(const uint16_t level,const uint16_t z,cons
return this->current_particle_cell.global_index;
} else {
this->end_index = 0;
current_particle_cell.y = UINT16_MAX;
return UINT64_MAX;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment