From 9f2ab0c2cd66fbdffabfaa311edd3348255c55b4 Mon Sep 17 00:00:00 2001 From: Paul Heinzlreiter Date: Tue, 27 Sep 2016 18:30:13 +0200 Subject: [PATCH] * cleanup --- bh_tree_mpi/mpimain.cpp | 2 +- bh_tree_mpi/simulation/MpiSimulation.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bh_tree_mpi/mpimain.cpp b/bh_tree_mpi/mpimain.cpp index 774bb08..3412d1e 100644 --- a/bh_tree_mpi/mpimain.cpp +++ b/bh_tree_mpi/mpimain.cpp @@ -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++) { diff --git a/bh_tree_mpi/simulation/MpiSimulation.cpp b/bh_tree_mpi/simulation/MpiSimulation.cpp index 3e4a266..35c35e8 100644 --- a/bh_tree_mpi/simulation/MpiSimulation.cpp +++ b/bh_tree_mpi/simulation/MpiSimulation.cpp @@ -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]); -- GitLab