NamdNborLB.h

Go to the documentation of this file.
00001 #ifndef _NAMDNBORLB_H_
00002 #define _NAMDNBORLB_H_
00003 
00004 #include "NeighborLB.h"
00005 #include "NamdNborLB.decl.h"
00006 
00007 #include "Node.h"
00008 #include "PatchMap.h"
00009 #include "SimParameters.h"
00010 #include "AlgNbor.h"
00011 #include "InfoStream.h"
00012 
00013 void CreateNamdNborLB();
00014 
00015 class NamdNborLB : public NeighborLB {
00016 
00017 public:
00018   NamdNborLB();
00019 private:
00020   int act;
00021   int numNbors;
00022 private:
00023   int max_neighbors();
00024   int num_neighbors();
00025   void neighbors(int* _n);
00026   bool QueryBalanceNow(int step);
00027   bool QueryMigrateStep(int _step);
00028   NLBMigrateMsg* Strategy(NborBaseLB::LDStats* stats, int count);
00029   int buildData(NborBaseLB::LDStats* stats, int count);
00030   int requiredProxies(PatchID id, int neighborNodes[]);
00031 
00032   int ldbNum;
00033   computeInfo *computeArray;
00034   patchInfo *patchArray;
00035   processorInfo *processorArray;
00036 };
00037 
00038 #endif /* _NAMDCENTLB_H_ */

Generated on Wed Nov 22 01:17:16 2017 for NAMD by  doxygen 1.4.7