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
9f2ab0c2
Commit
9f2ab0c2
authored
8 years ago
by
Paul Heinzlreiter
Browse files
Options
Downloads
Patches
Plain Diff
* cleanup
parent
e1c74ac5
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bh_tree_mpi/mpimain.cpp
+1
-1
1 addition, 1 deletion
bh_tree_mpi/mpimain.cpp
bh_tree_mpi/simulation/MpiSimulation.cpp
+1
-2
1 addition, 2 deletions
bh_tree_mpi/simulation/MpiSimulation.cpp
with
2 additions
and
3 deletions
bh_tree_mpi/mpimain.cpp
+
1
−
1
View file @
9f2ab0c2
...
...
@@ -14,7 +14,7 @@ int main(int argc, char* argv[]) {
simulation
.
distributeBodies
();
simulation
.
distributeDomains
();
//
simulation.buildTree();
simulation
.
buildTree
();
/*
for (int i = 0; i < 1; i++) {
...
...
This diff is collapsed.
Click to expand it.
bh_tree_mpi/simulation/MpiSimulation.cpp
+
1
−
2
View file @
9f2ab0c2
...
...
@@ -168,12 +168,11 @@ namespace nbody {
for
(
int
i
=
0
;
i
<
this
->
parallelSize
;
i
++
)
{
extend
(
this
->
overallDomain
,
this
->
domains
[
i
]);
}
printBB
(
this
->
parallelRank
,
this
->
overallDomain
);
}
void
MpiSimulation
::
distributeLETs
()
{
/*
//send out locally essential trees (local bodies needed by remote simulations)
/*
for (int i = 0; i < this->parallelSize; i++) {
if (i != this->parallelRank) {
printBB(this->parallelRank, this->domains[i]);
...
...
This diff is collapsed.
Click to expand it.
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