Newer
Older
#ifndef MPI_SIMULATION_HPP
#define MPI_SIMULATION_HPP
#include "../datastructures/BarnesHutTree.hpp"
int mpiSize;
int mpiRank;
MPI_Datatype bodyType;
MPI_Datatype boxType;
BarnesHutTree tree;
Box* domains;
public:
MpiSimulation(int& argc, char**& argv);
virtual ~MpiSimulation();
virtual int getNumberOfProcesses();
virtual int getProcessId();
virtual void distributeDomains();