Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
n-body_methods
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
CodeVault
hpc-kernels
n-body_methods
Commits
26f8e73d
Commit
26f8e73d
authored
8 years ago
by
Paul Heinzlreiter
Browse files
Options
Downloads
Patches
Plain Diff
* moved files to one diorectory
parent
f6fdcbb8
Branches
Branches containing commit
No related merge requests found
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bh_tree_mpi/mpimain.cpp
+20
-0
20 additions, 0 deletions
bh_tree_mpi/mpimain.cpp
bh_tree_mpi/pthreadmain.cpp
+11
-0
11 additions, 0 deletions
bh_tree_mpi/pthreadmain.cpp
with
31 additions
and
0 deletions
bh_tree_mpi/mpimain.cpp
0 → 100644
+
20
−
0
View file @
26f8e73d
#include
"datastructures/BarnesHutTree.hpp"
#include
"parallelization/MpiSimulation.hpp"
#include
<iostream>
#include
<mpi.h>
using
namespace
nbody
;
using
namespace
std
;
int
main
(
int
argc
,
char
*
argv
[])
{
MPI_Init
(
&
argc
,
&
argv
);
MpiSimulation
simulation
(
argc
,
argv
);
simulation
.
distributeBodies
();
for
(
int
i
=
0
;
i
<
6
;
i
++
)
{
simulation
.
runStep
();
}
simulation
.
cleanup
();
MPI_Finalize
();
return
0
;
}
This diff is collapsed.
Click to expand it.
bh_tree_mpi/pthreadmain.cpp
0 → 100644
+
11
−
0
View file @
26f8e73d
#include
"datastructures/BarnesHutTree.hpp"
#include
<iostream>
#include
<pthread.h>
using
namespace
nbody
;
using
namespace
std
;
int
main
(
int
argc
,
char
*
argv
[])
{
return
0
;
}
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
Preview
0%
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