Revert "fix: update readflash to more moderne HDF5"

This reverts commit dc79f6b6a2.
This commit is contained in:
Guilhem Lavaux 2025-07-02 13:43:18 +02:00
parent dc79f6b6a2
commit 63158017ea

View file

@ -124,8 +124,6 @@ void h5_read_runtime_parameters
//memspace = H5Screate_simple(rank, &dimens_1d, NULL);
dataset.read(int_rt_parms, int_rt_type, memspace, dataspace);
//status = H5Dread(dataset, int_rt_type, memspace, dataspace,
// H5P_DEFAULT, int_rt_parms);
for (i = 0; i < nint_runtime_parameters; i++) {
@ -167,8 +165,6 @@ void h5_read_runtime_parameters
//memspace = H5Screate_simple(rank, &dimens_1d, NULL);
dataset.read(real_rt_parms, real_rt_type, memspace, dataspace);
//status = H5Dread(dataset, real_rt_type, memspace, dataspace,
// H5P_DEFAULT, real_rt_parms);
for (i = 0; i < nreal_runtime_parameters; i++) {
@ -287,9 +283,7 @@ void h5_read_flash3_particles (H5File* file,
DataSpace memspace(rank, dimens_2d);
//memspace = H5Screate_simple(rank, dimens_2d, NULL);
dataset.read(part_names, string_type, H5S_ALL, H5S_ALL);
//status = H5Dread(dataset, string_type, H5S_ALL, H5S_ALL,
// H5P_DEFAULT, part_names);
dataset.read(part_names, string_type);
string_type.close();
@ -373,7 +367,6 @@ void h5_read_flash3_particles (H5File* file,
/* read data from the dataset */
dataset.read(partBuffer, datatype, memspace, dataspace);
//status = H5Dread(dataset, datatype, memspace, dataspace, H5P_DEFAULT, partBuffer);
/* convert buffer into particle struct */