From 07f316e8c62c6a623f7080156ac2bcf77bbfd3bd Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Mon, 29 Jul 2019 16:31:30 +0100 Subject: [PATCH] Better names for the EAGLE BH chemistry fields. --- src/chemistry/EAGLE/chemistry_io.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/chemistry/EAGLE/chemistry_io.h b/src/chemistry/EAGLE/chemistry_io.h index 76d896cba8..32e05aeeb6 100644 --- a/src/chemistry/EAGLE/chemistry_io.h +++ b/src/chemistry/EAGLE/chemistry_io.h @@ -64,7 +64,7 @@ INLINE static int chemistry_write_particles(const struct part* parts, "Fractions of the particles' masses that are in the given element"); list[1] = io_make_output_field( - "SmoothedElementAbundance", FLOAT, chemistry_element_count, + "SmoothedElementAbundances", FLOAT, chemistry_element_count, UNIT_CONV_NO_UNITS, 0.f, parts, chemistry_data.smoothed_metal_mass_fraction, "Smoothed fractions of the particles' masses that are " @@ -146,7 +146,7 @@ INLINE static int chemistry_write_sparticles(const struct spart* sparts, "Fractions of the particles' masses that are in the given element"); list[1] = io_make_output_field( - "SmoothedElementAbundance", FLOAT, chemistry_element_count, + "SmoothedElementAbundances", FLOAT, chemistry_element_count, UNIT_CONV_NO_UNITS, 0.f, sparts, chemistry_data.smoothed_metal_mass_fraction, "Smoothed fractions of the particles' masses that are " @@ -248,25 +248,25 @@ INLINE static int chemistry_write_bparticles(const struct bpart* bparts, "Masses of the BH particles that have been produced by AGB stars"); list[5] = - io_make_output_field("MetalMassFromSNIa", FLOAT, 1, UNIT_CONV_MASS, 0.f, + io_make_output_field("MetalMassesFromSNIa", FLOAT, 1, UNIT_CONV_MASS, 0.f, bparts, chemistry_data.metal_mass_from_SNIa, "Masses of the BH particles in metals that have " "been produced by SNIa stars"); list[6] = - io_make_output_field("MetalMassFromSNII", FLOAT, 1, UNIT_CONV_MASS, 0.f, + io_make_output_field("MetalMassesFromSNII", FLOAT, 1, UNIT_CONV_MASS, 0.f, bparts, chemistry_data.metal_mass_from_SNII, "Masses of the BH particles in metals that have " "been produced by SNII stars"); list[7] = - io_make_output_field("MetalMassFromAGB", FLOAT, 1, UNIT_CONV_MASS, 0.f, + io_make_output_field("MetalMassesFromAGB", FLOAT, 1, UNIT_CONV_MASS, 0.f, bparts, chemistry_data.metal_mass_from_AGB, "Masses of the BH particles in metals that have " "been produced by AGB stars"); list[8] = - io_make_output_field("IronMassFromSNIa", FLOAT, 1, UNIT_CONV_MASS, 0.f, + io_make_output_field("IronMassesFromSNIa", FLOAT, 1, UNIT_CONV_MASS, 0.f, bparts, chemistry_data.iron_mass_from_SNIa, "Masses of the BH particles in iron that have been " "produced by SNIa stars"); -- GitLab