Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
14c9cfad
Commit
14c9cfad
authored
3 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Fix typo in the description of the peculiar velocity field for the DM particles
parent
5444ce21
No related branches found
No related tags found
1 merge request
!1548
Mayor Sync
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/gravity/Default/gravity_io.h
+1
-1
1 addition, 1 deletion
src/gravity/Default/gravity_io.h
src/gravity/MultiSoftening/gravity_io.h
+1
-1
1 addition, 1 deletion
src/gravity/MultiSoftening/gravity_io.h
with
2 additions
and
2 deletions
src/gravity/Default/gravity_io.h
+
1
−
1
View file @
14c9cfad
...
@@ -129,7 +129,7 @@ INLINE static void darkmatter_write_particles(const struct gpart* gparts,
...
@@ -129,7 +129,7 @@ INLINE static void darkmatter_write_particles(const struct gpart* gparts,
list
[
1
]
=
io_make_output_field_convert_gpart
(
list
[
1
]
=
io_make_output_field_convert_gpart
(
"Velocities"
,
FLOAT
,
3
,
UNIT_CONV_SPEED
,
0
.
f
,
gparts
,
convert_gpart_vel
,
"Velocities"
,
FLOAT
,
3
,
UNIT_CONV_SPEED
,
0
.
f
,
gparts
,
convert_gpart_vel
,
"Peculiar velocities of the
star
s. This is a * dx/dt where x is the "
"Peculiar velocities of the
particle
s. This is a * dx/dt where x is the "
"co-moving position of the particles."
);
"co-moving position of the particles."
);
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
,
...
...
This diff is collapsed.
Click to expand it.
src/gravity/MultiSoftening/gravity_io.h
+
1
−
1
View file @
14c9cfad
...
@@ -136,7 +136,7 @@ INLINE static void darkmatter_write_particles(const struct gpart* gparts,
...
@@ -136,7 +136,7 @@ INLINE static void darkmatter_write_particles(const struct gpart* gparts,
list
[
1
]
=
io_make_output_field_convert_gpart
(
list
[
1
]
=
io_make_output_field_convert_gpart
(
"Velocities"
,
FLOAT
,
3
,
UNIT_CONV_SPEED
,
0
.
f
,
gparts
,
convert_gpart_vel
,
"Velocities"
,
FLOAT
,
3
,
UNIT_CONV_SPEED
,
0
.
f
,
gparts
,
convert_gpart_vel
,
"Peculiar velocities of the
star
s. This is a * dx/dt where x is the "
"Peculiar velocities of the
particle
s. This is a * dx/dt where x is the "
"co-moving position of the particles."
);
"co-moving position of the particles."
);
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
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment