Commit 7ca5dac5 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Write the IDs of the stars as unsigned long long

parent 7f22c13f
...@@ -125,7 +125,7 @@ INLINE static void stars_write_particles(const struct spart *sparts, ...@@ -125,7 +125,7 @@ INLINE static void stars_write_particles(const struct spart *sparts,
list[2] = io_make_output_field("Masses", FLOAT, 1, UNIT_CONV_MASS, 0.f, list[2] = io_make_output_field("Masses", FLOAT, 1, UNIT_CONV_MASS, 0.f,
sparts, mass, "Masses of the particles"); sparts, mass, "Masses of the particles");
list[3] = io_make_output_field("ParticleIDs", LONGLONG, 1, UNIT_CONV_NO_UNITS, list[3] = io_make_output_field("ParticleIDs", ULONGLONG, 1, UNIT_CONV_NO_UNITS,
0.f, sparts, id, "Unique ID of the particles"); 0.f, sparts, id, "Unique ID of the particles");
list[4] = io_make_output_field( list[4] = io_make_output_field(
......
...@@ -132,7 +132,7 @@ INLINE static void stars_write_particles(const struct spart *sparts, ...@@ -132,7 +132,7 @@ INLINE static void stars_write_particles(const struct spart *sparts,
"Masses of the particles at the current point " "Masses of the particles at the current point "
"in time (i.e. after stellar losses"); "in time (i.e. after stellar losses");
list[3] = io_make_output_field("ParticleIDs", LONGLONG, 1, UNIT_CONV_NO_UNITS, list[3] = io_make_output_field("ParticleIDs", ULONGLONG, 1, UNIT_CONV_NO_UNITS,
0.f, sparts, id, "Unique ID of the particles"); 0.f, sparts, id, "Unique ID of the particles");
list[4] = io_make_output_field( list[4] = io_make_output_field(
......
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