Skip to content
Snippets Groups Projects
main.cpp 301 B
Newer Older
#include "datastructures/BarnesHutTree.hpp"
#include <iostream>

using namespace nbody;

int main(int argc, char* argv[]) {
	BarnesHutTree tree;
	if (argc == 1) {
		tree.build(Tree::dubinskiParse(argv[1]));
	} else {
		std::cout << "You need to specify the body input file." << endl;
	}