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

Proper name for entropy variable in Gadget-2 output

parent 8c14753b
Branches
Tags
1 merge request!157Proper name for entropy variable in Gadget-2 output
......@@ -83,7 +83,7 @@ __attribute__((always_inline)) INLINE static void hydro_write_particles(
writeArray(h_grp, fileName, xmfFile, partTypeGroupName, "SmoothingLength",
FLOAT, N, 1, parts, N_total, mpi_rank, offset, h, us,
UNIT_CONV_LENGTH);
writeArray(h_grp, fileName, xmfFile, partTypeGroupName, "InternalEnergy",
writeArray(h_grp, fileName, xmfFile, partTypeGroupName, "Entropy",
FLOAT, N, 1, parts, N_total, mpi_rank, offset, entropy, us,
UNIT_CONV_ENTROPY_PER_UNIT_MASS);
writeArray(h_grp, fileName, xmfFile, partTypeGroupName, "ParticleIDs",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment