| 1 |
gezelter |
1490 |
#ifndef __MPISIMULATION__ |
| 2 |
|
|
#define __MPISIMULATION__ |
| 3 |
|
|
|
| 4 |
tim |
1492 |
#include "brains/SimInfo.hpp" |
| 5 |
|
|
#include "types/MakeStamps.hpp" |
| 6 |
gezelter |
1490 |
#define __C |
| 7 |
tim |
1492 |
#include "UseTheForce/mpiComponentPlan.h" |
| 8 |
gezelter |
1490 |
|
| 9 |
chuckv |
1619 |
#include "UseTheForce/DarkSide/simParallel_interface.h" |
| 10 |
gezelter |
1490 |
|
| 11 |
|
|
class mpiSimulation{ |
| 12 |
|
|
public: |
| 13 |
|
|
|
| 14 |
tim |
1722 |
mpiSimulation(MoleculeStamp** mol); |
| 15 |
gezelter |
1490 |
~mpiSimulation(); |
| 16 |
|
|
|
| 17 |
|
|
void divideLabor(); |
| 18 |
|
|
|
| 19 |
|
|
// call at the begining and after load balancing |
| 20 |
|
|
|
| 21 |
tim |
1722 |
void mpiRefresh( ); |
| 22 |
gezelter |
1490 |
|
| 23 |
|
|
protected: |
| 24 |
tim |
1722 |
|
| 25 |
|
|
|
| 26 |
gezelter |
1490 |
}; |
| 27 |
|
|
|
| 28 |
|
|
#endif |