changa  3.5
 All Classes Files Functions Variables Typedefs Enumerations Friends Macros Groups Pages
Orb3dLB_notopo.h
1 
5 
6 #ifndef _ORB3DLB_NOTOPO_H_
7 #define _ORB3DLB_NOTOPO_H_
8 
9 #include "Orb3dLB_notopo.decl.h"
10 #include <queue>
11 #include "Orb3dLBCommon.h"
12 
13 #include "pup_stl.h"
14 
17 class Orb3dLB_notopo : public CBase_Orb3dLB_notopo, public Orb3dCommon {
18 private:
19 
20  vector<OrbObject> tps;
21  // things are stored in here before work
22  // is ever called.
23 
24  void init();
25  bool QueryBalanceNow(int step);
26  void printData(BaseLB::LDStats &stats, int phase, int *revObjMap);
27 
28  void pupDump(PUP::er &, BaseLB::LDStats *, vector<Event> *);
29 
30 // void orbPartition(vector<Event> *events, OrientedBox<float> &box, int procs);
31 // int partitionRatioLoad(vector<Event> &events, float ratio);
32 
33 public:
34  Orb3dLB_notopo(const CkLBOptions &);
35  Orb3dLB_notopo(CkMigrateMessage *m): CBase_Orb3dLB_notopo(m) {init();}
36  void work(BaseLB::LDStats* stats);
37 
38 };
39 
40 #endif /* _Orb3dLB_notopo_H_ */
41 
Common methods among Orb3d class load balancers.
Definition: Orb3dLBCommon.h:38
Load balancer that divides work according to a 3D spatial ORB.
Definition: Orb3dLB_notopo.h:17