Newer
Older
#include "datastructures/BarnesHutTree.hpp"
int main(int argc, char* argv[]) {
if (argc == 2) {
vector<Body> bodies = Tree::dubinskiParse(argv[1]);
std::cout << bodies.size() << endl;
tree.build(bodies);
} else {
std::cout << "You need to specify the body input file." << endl;
}