Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
N Body Simulation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
This server has been upgraded to GitLab release
17.10
.
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Armin Damon Riess
N Body Simulation
Commits
5e31f1cc
Commit
5e31f1cc
authored
2 years ago
by
Armin Damon Riess
Browse files
Options
Downloads
Patches
Plain Diff
Include OpenMP installation guide
parent
b7313557
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+7
-2
7 additions, 2 deletions
README.md
with
7 additions
and
2 deletions
README.md
+
7
−
2
View file @
5e31f1cc
# N Body Simulation
This code simulates particles under self-gravity. The forces are calculated via direct summation or with a tree and multipole expansion.
Most of the code is written in C++, Python is used to make plots and animations. OpenMP is used for parallelisation.
## Install OpenMP
https://www.geeksforgeeks.org/openmp-introduction-with-installation-guide/
## Make build directory
```
...
...
@@ -11,9 +16,9 @@ nbody$ cd build
nbody/build$ cmake ..
```
## Compiling and running the
simulation
## Compiling and running the
program
```
nbody/build$ make
nbody/build$ ./nbody
```
\ No newline at end of file
```
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