Skip to content
Snippets Groups Projects
Commit 07f316e8 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Better names for the EAGLE BH chemistry fields.

parent f245a9c0
No related branches found
No related tags found
1 merge request!824Add a description and a scale-factor exponent to each individual array written to the snapshots.
...@@ -64,7 +64,7 @@ INLINE static int chemistry_write_particles(const struct part* parts, ...@@ -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"); "Fractions of the particles' masses that are in the given element");
list[1] = io_make_output_field( list[1] = io_make_output_field(
"SmoothedElementAbundance", FLOAT, chemistry_element_count, "SmoothedElementAbundances", FLOAT, chemistry_element_count,
UNIT_CONV_NO_UNITS, 0.f, parts, UNIT_CONV_NO_UNITS, 0.f, parts,
chemistry_data.smoothed_metal_mass_fraction, chemistry_data.smoothed_metal_mass_fraction,
"Smoothed fractions of the particles' masses that are " "Smoothed fractions of the particles' masses that are "
...@@ -146,7 +146,7 @@ INLINE static int chemistry_write_sparticles(const struct spart* sparts, ...@@ -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"); "Fractions of the particles' masses that are in the given element");
list[1] = io_make_output_field( list[1] = io_make_output_field(
"SmoothedElementAbundance", FLOAT, chemistry_element_count, "SmoothedElementAbundances", FLOAT, chemistry_element_count,
UNIT_CONV_NO_UNITS, 0.f, sparts, UNIT_CONV_NO_UNITS, 0.f, sparts,
chemistry_data.smoothed_metal_mass_fraction, chemistry_data.smoothed_metal_mass_fraction,
"Smoothed fractions of the particles' masses that are " "Smoothed fractions of the particles' masses that are "
...@@ -248,25 +248,25 @@ INLINE static int chemistry_write_bparticles(const struct bpart* bparts, ...@@ -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"); "Masses of the BH particles that have been produced by AGB stars");
list[5] = 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, bparts, chemistry_data.metal_mass_from_SNIa,
"Masses of the BH particles in metals that have " "Masses of the BH particles in metals that have "
"been produced by SNIa stars"); "been produced by SNIa stars");
list[6] = 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, bparts, chemistry_data.metal_mass_from_SNII,
"Masses of the BH particles in metals that have " "Masses of the BH particles in metals that have "
"been produced by SNII stars"); "been produced by SNII stars");
list[7] = 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, bparts, chemistry_data.metal_mass_from_AGB,
"Masses of the BH particles in metals that have " "Masses of the BH particles in metals that have "
"been produced by AGB stars"); "been produced by AGB stars");
list[8] = 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, bparts, chemistry_data.iron_mass_from_SNIa,
"Masses of the BH particles in iron that have been " "Masses of the BH particles in iron that have been "
"produced by SNIa stars"); "produced by SNIa stars");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment