Commit d84606e0 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Use better names for the particle fields to be read in by the EAGLE chemistry model.

parent a09d0b82
......@@ -37,9 +37,9 @@ INLINE static int chemistry_read_particles(struct part* parts,
"ElementAbundance", FLOAT, chemistry_element_count, OPTIONAL,
UNIT_CONV_NO_UNITS, parts, chemistry_data.metal_mass_fraction);
list[1] =
io_make_input_field("Z", FLOAT, 1, OPTIONAL, UNIT_CONV_NO_UNITS, parts,
chemistry_data.metal_mass_fraction_total);
list[2] = io_make_input_field("IronFromSNIa", FLOAT, 1, OPTIONAL,
io_make_input_field("Metallicity", FLOAT, 1, OPTIONAL, UNIT_CONV_NO_UNITS,
parts, chemistry_data.metal_mass_fraction_total);
list[2] = io_make_input_field("IronMassFracFromSNIa", FLOAT, 1, OPTIONAL,
UNIT_CONV_NO_UNITS, parts,
chemistry_data.iron_mass_fraction_from_SNIa);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment