NAMD
ComputeDPMTA.h
Go to the documentation of this file.
1 
7 #ifndef COMPUTEDPMTA_H
8 #define COMPUTEDPMTA_H
9 
10 #include "ComputeHomePatches.h"
11 
12 class SubmitReduction;
13 
14 #ifdef DPMTA
15 
16 extern "C"
17  {
18  #include "dpmta.h"
19  }
20 
21 class ComputeDPMTA : public ComputeHomePatches {
22 private:
23  int *slavetids; // PID for slave processes
24  int totalAtoms; // Total number of atoms being dealt with
25  PmtaPartInfo *fmaResults; // Results from the PMTA code
26  PmtaPartInfo *ljResults; // Results from the PMTA code
27  Vector boxsize; // FMA box size, set by get_FMA_cube()
28  Vector boxcenter; // FMA box center, set by get_FMA_cube()
29  int usePBC; // flag for PBC
30  Vector initLattice; // initial system lattice dimensions
31  SubmitReduction *reduction;
32 
33  void get_FMA_cube(int resize);
34 
35 public:
36  ComputeDPMTA(ComputeID c);
37  void initialize();
38  virtual ~ComputeDPMTA();
39  void doWork();
40 };
41 
42 #endif
43 #endif
44 
int ComputeID
Definition: NamdTypes.h:183
Definition: Vector.h:64
virtual void doWork()
Definition: Compute.C:108
virtual void initialize()