diff --git a/examples/GEAR/AgoraDisk/agora_disk.yml b/examples/GEAR/AgoraDisk/agora_disk.yml index 3804b454b7c18eda4e397bb21b7ffc493944ecb1..0bd8cebddcd7c27ac1b99c49ad39f5305f2caf96 100644 --- a/examples/GEAR/AgoraDisk/agora_disk.yml +++ b/examples/GEAR/AgoraDisk/agora_disk.yml @@ -9,6 +9,7 @@ InternalUnitSystem: Scheduler: max_top_level_cells: 16 cell_extra_sparts: 5000 # (Optional) Number of spare sparts per top-level allocated at rebuild time for on-the-fly creation. + cell_extra_gparts: 5000 # (Optional) Number of spare sparts per top-level allocated at rebuild time for on-the-fly creation. cell_max_size: 8000 # (Optional) Maximal number of interactions per task if we force the split (this is the default value). cell_sub_size_pair_hydro: 2560 # (Optional) Maximal number of hydro-hydro interactions per sub-pair hydro/star task (this is the default value). cell_sub_size_self_hydro: 3200 # (Optional) Maximal number of hydro-hydro interactions per sub-self hydro/star task (this is the default value). diff --git a/examples/GEAR/getChemistryTable.sh b/examples/GEAR/getChemistryTable.sh old mode 100644 new mode 100755 diff --git a/src/feedback/GEAR/hdf5_functions.h b/src/feedback/GEAR/hdf5_functions.h index 32e146244d9f1793cbe4f18b613bf0c01bbd7df3..4d939e310a37455b912465ecefb15b5c192fb044 100644 --- a/src/feedback/GEAR/hdf5_functions.h +++ b/src/feedback/GEAR/hdf5_functions.h @@ -80,7 +80,7 @@ io_read_string_array_attribute(hid_t grp, const char *name, void *data, for (hsize_t i = 0; i < number_element; i++) { char *src = tmp + i * sdim; char *dest = data + i * size_per_element; - memcpy(dest, src, sdim); + memcpy(dest, src, sdim + 1); } /* Cleanup */