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

Give the Gizmo volume the correct dimension in the outputs.

parent a15bfe22
Branches
Tags
1 merge request!248Give the Gizmo volume the correct dimension in the outputs.
......@@ -124,8 +124,8 @@ void hydro_write_particles(struct part* parts, struct io_props* list,
UNIT_CONV_ACCELERATION, parts, a_hydro);
list[7] = io_make_output_field("Density", FLOAT, 1, UNIT_CONV_DENSITY, parts,
primitives.rho);
list[8] = io_make_output_field("Volume", FLOAT, 1, UNIT_CONV_INV_VOLUME,
parts, geometry.volume);
list[8] = io_make_output_field("Volume", FLOAT, 1, UNIT_CONV_VOLUME, parts,
geometry.volume);
list[9] = io_make_output_field("GradDensity", FLOAT, 3, UNIT_CONV_DENSITY,
parts, primitives.gradients.rho);
list[10] = io_make_output_field_convert_part(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment