diff --git a/src/cooling/Compton/cooling_io.h b/src/cooling/Compton/cooling_io.h index 8fa3944ff78e7592da3978ee9465451c96e1d533..1f137e18ca3c62c1083a8139cbb636b0b934d81d 100644 --- a/src/cooling/Compton/cooling_io.h +++ b/src/cooling/Compton/cooling_io.h @@ -64,9 +64,9 @@ __attribute__((always_inline)) INLINE static int cooling_write_particles( const struct part* parts, const struct xpart* xparts, struct io_props* list, const struct cooling_function_data* cooling) { - list[0] = io_make_output_field_convert_part("Temperature", FLOAT, 1, - UNIT_CONV_TEMPERATURE, parts, - xparts, convert_part_T); + list[0] = io_make_output_field_convert_part( + "Temperatures", FLOAT, 1, UNIT_CONV_TEMPERATURE, 0.f, parts, xparts, + convert_part_T, "Temperatures of the gas particles"); return 1; } diff --git a/src/cooling/const_du/cooling_io.h b/src/cooling/const_du/cooling_io.h index a60aa5d282d0a244f206f74827f0c1979d3bcb75..8c82d0e3f7b134fc1fa1ee12f81474e1223912cb 100644 --- a/src/cooling/const_du/cooling_io.h +++ b/src/cooling/const_du/cooling_io.h @@ -73,9 +73,9 @@ __attribute__((always_inline)) INLINE static int cooling_write_particles( const struct part* parts, const struct xpart* xparts, struct io_props* list, const struct cooling_function_data* cooling) { - list[0] = io_make_output_field_convert_part("Temperature", FLOAT, 1, - UNIT_CONV_TEMPERATURE, parts, - xparts, convert_part_T); + list[0] = io_make_output_field_convert_part( + "Temperatures", FLOAT, 1, UNIT_CONV_TEMPERATURE, 0.f, parts, xparts, + convert_part_T, "Temperatures of the gas particles"); return 1; } diff --git a/src/cooling/const_lambda/cooling_io.h b/src/cooling/const_lambda/cooling_io.h index 2e2ba799ab51a73c610701499ef61f1b398e42c5..65f47dbbec97c51a8d59de58a4dd458cf1c366bf 100644 --- a/src/cooling/const_lambda/cooling_io.h +++ b/src/cooling/const_lambda/cooling_io.h @@ -72,12 +72,14 @@ __attribute__((always_inline)) INLINE static int cooling_write_particles( const struct part* parts, const struct xpart* xparts, struct io_props* list, const struct cooling_function_data* cooling) { - list[0] = io_make_output_field_convert_part("Temperature", FLOAT, 1, - UNIT_CONV_TEMPERATURE, parts, - xparts, convert_part_T); + list[0] = io_make_output_field_convert_part( + "Temperature", FLOAT, 0.f, 1, UNIT_CONV_TEMPERATURE, parts, xparts, + convert_part_T, "Temperatures of the gas particles"); - list[1] = io_make_output_field("RadiatedEnergy", FLOAT, 1, UNIT_CONV_ENERGY, - xparts, cooling_data.radiated_energy); + list[1] = io_make_output_field( + "RadiatedEnergies", FLOAT, 1, UNIT_CONV_ENERGY, 0.f, xparts, + cooling_data.radiated_energy, + "Thermal energies radiated by the cooling mechanism"); return 2; } diff --git a/src/cooling/none/cooling_io.h b/src/cooling/none/cooling_io.h index 9ee6208e9e78e4af39b40df87c998bf3b68cd4fe..0c551f0f6617a57b85672654dd633e4f90afc8dd 100644 --- a/src/cooling/none/cooling_io.h +++ b/src/cooling/none/cooling_io.h @@ -63,7 +63,7 @@ __attribute__((always_inline)) INLINE static int cooling_write_particles( const struct cooling_function_data* cooling) { list[0] = io_make_output_field_convert_part( - "Temperature", FLOAT, 1, UNIT_CONV_TEMPERATURE, 0.f, parts, xparts, + "Temperatures", FLOAT, 1, UNIT_CONV_TEMPERATURE, 0.f, parts, xparts, convert_part_T, "Temperature of the particles"); return 1; }