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