Skip to content
Snippets Groups Projects
Commit 72209e21 authored by Paul Heinzlreiter's avatar Paul Heinzlreiter
Browse files

* testubg mpi

parent ad1513ca
Branches
No related merge requests found
#include "datastructures/BarnesHutTree.hpp"
#include "parallelization/MpiSimulation.hpp"
#include <iostream>
using namespace nbody;
......@@ -6,8 +7,10 @@ using namespace std;
int main(int argc, char* argv[]) {
BarnesHutTree tree;
MpiSimulation simulation(argc, argv);
if (argc == 2) {
vector<Body> bodies = Tree::dubinskiParse(argv[1]);
cout << bodies.size() << endl;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment