Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
daa6e011
Commit
daa6e011
authored
Feb 13, 2020
by
Matthieu Schaller
Browse files
Write the IDs of the black holes as unsigned long long
parent
7ca5dac5
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/black_holes/Default/black_holes_io.h
View file @
daa6e011
...
...
@@ -126,7 +126,7 @@ INLINE static void black_holes_write_particles(const struct bpart* bparts,
list
[
2
]
=
io_make_output_field
(
"Masses"
,
FLOAT
,
1
,
UNIT_CONV_MASS
,
0
.
f
,
bparts
,
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"
,
U
LONGLONG
,
1
,
UNIT_CONV_NO_UNITS
,
0
.
f
,
bparts
,
id
,
"Unique ID of the particles"
);
list
[
4
]
=
io_make_output_field
(
...
...
src/black_holes/EAGLE/black_holes_io.h
View file @
daa6e011
...
...
@@ -130,7 +130,7 @@ INLINE static void black_holes_write_particles(const struct bpart* bparts,
io_make_output_field
(
"DynamicalMasses"
,
FLOAT
,
1
,
UNIT_CONV_MASS
,
0
.
f
,
bparts
,
mass
,
"Dynamical masses of the particles"
);
list
[
3
]
=
io_make_output_field
(
"ParticleIDs"
,
LONGLONG
,
1
,
UNIT_CONV_NO_UNITS
,
list
[
3
]
=
io_make_output_field
(
"ParticleIDs"
,
U
LONGLONG
,
1
,
UNIT_CONV_NO_UNITS
,
0
.
f
,
bparts
,
id
,
"Unique ID of the particles"
);
list
[
4
]
=
io_make_output_field
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment