Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nbody
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
bartunej
nbody
Commits
fffae2c5
Commit
fffae2c5
authored
3 years ago
by
Johannes Lukas Bartunek
Browse files
Options
Downloads
Patches
Plain Diff
Update stargazer/README.md, nbody/README.md
parent
93a603ff
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
nbody/README.md
+2
-0
2 additions, 0 deletions
nbody/README.md
stargazer/README.md
+18
-3
18 additions, 3 deletions
stargazer/README.md
with
20 additions
and
3 deletions
nbody/README.md
+
2
−
0
View file @
fffae2c5
...
...
@@ -14,3 +14,5 @@ Execute with:
./sim [number of steps] [delta T]
```
All of the locations will be printed to a file named output, as of right now the recording intervall has to be set in the source code.
This program is able to calculate about 300 Million Steps of the solarsystem (Sun + 8 Planets) in about 90 seconds on an Intel i5-10300H.
This diff is collapsed.
Click to expand it.
stargazer/README.md
+
18
−
3
View file @
fffae2c5
...
...
@@ -15,20 +15,35 @@ make
./stargazer <name-to-logfile>
```
You can find samples in the
`/samples`
directory.
You can find samples in the
`/samples`
directory.
# Controls
`SPACE`
Pause/ Unpause
`.`
Speed up time
`,`
Slow/ Reverse time
`c`
Toggle trajectory trace
`n`
Shorter trace
`m`
Longer trace
`n/ m`
Shorter/ Longer trace
`k/ l`
Scale the scene
`o/ p`
Scale the size of the objects
`right/ left arrows`
Increase/ Decrease movement speed
Use the mouse/ touchpad to look around.
# Screenshots



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