NAMD
ComputeDPME.h
Go to the documentation of this file.
1 
7 #ifndef COMPUTEDPME_H
8 #define COMPUTEDPME_H
9 
10 #include "ComputeHomePatches.h"
11 #include "NamdTypes.h"
12 
13 #ifdef DPME
14 
15 class ComputeDPMEDataMsg;
17 class ComputeDPMEMaster;
18 class ComputeMgr;
19 
20 class ComputeDPME : public ComputeHomePatches {
21 public:
22  ComputeDPME(ComputeID c, ComputeMgr *m);
23  virtual ~ComputeDPME();
24  void doWork();
26  void recvResults(ComputeDPMEResultsMsg *);
27 
28  ComputeMgr *comm;
29  int getMasterNode(void) { return masterNode; }
30 
31  private:
32  ComputeDPMEMaster *master;
33  int masterNode;
34  int numLocalAtoms;
35 
36 };
37 
38 #endif
39 #endif
40 
int ComputeID
Definition: NamdTypes.h:183
void recvData(DataMessage *dmsg)
Definition: DataExchanger.C:93
virtual void doWork()
Definition: Compute.C:108