| 43 | 
  | 
#define PARALLEL_FORCEDECOMPOSITION_HPP | 
| 44 | 
  | 
 | 
| 45 | 
  | 
#include "brains/SimInfo.hpp" | 
| 46 | 
+ | 
#include "brains/SnapshotManager.hpp" | 
| 47 | 
  | 
#include "nonbonded/NonBondedInteraction.hpp" | 
| 48 | 
  | 
 | 
| 49 | 
  | 
using namespace std; | 
| 96 | 
  | 
    virtual void collectData() = 0; | 
| 97 | 
  | 
 | 
| 98 | 
  | 
    // neighbor list routines | 
| 99 | 
< | 
    virtual bool checkNeighborList() = 0; | 
| 99 | 
> | 
    virtual bool checkNeighborList(); | 
| 100 | 
  | 
    virtual vector<pair<int, int> >  buildNeighborList() = 0; | 
| 101 | 
  | 
 | 
| 102 | 
  | 
    // group bookkeeping | 
| 124 | 
  | 
    // filling interaction blocks with pointers | 
| 125 | 
  | 
    virtual InteractionData fillInteractionData(int atom1, int atom2) = 0; | 
| 126 | 
  | 
    virtual InteractionData fillSkipData(int atom1, int atom2) = 0; | 
| 127 | 
< | 
    virtual SelfData fillSelfData(int atom1) = 0; | 
| 127 | 
> | 
    virtual SelfData fillSelfData(int atom1); | 
| 128 | 
  | 
     | 
| 129 | 
  | 
  protected: | 
| 130 | 
  | 
    SimInfo* info_;    | 
| 131 | 
+ | 
    SnapshotManager* sman_;     | 
| 132 | 
+ | 
    Snapshot* snap_; | 
| 133 | 
+ | 
    int storageLayout_; | 
| 134 | 
+ | 
    RealType skinThickness_;   /**< Verlet neighbor list skin thickness */     | 
| 135 | 
+ | 
 | 
| 136 | 
  | 
    map<pair<int, int>, int> topoDist; //< topoDist gives the | 
| 137 | 
  | 
                                       //topological distance between | 
| 138 | 
  | 
                                       //two atomic sites.  This | 
| 154 | 
  | 
                                       //the specific decomposition | 
| 155 | 
  | 
                                       //method to fill this. | 
| 156 | 
  | 
    vector<Vector3i> cellOffsets_; | 
| 157 | 
< | 
    int nOffset_; | 
| 157 | 
> | 
    Vector3i nCells_; | 
| 158 | 
> | 
    vector<vector<int> > cellList_; | 
| 159 | 
> | 
    vector<Vector3d> saved_CG_positions_; | 
| 160 | 
> | 
 | 
| 161 | 
  | 
  };     | 
| 162 | 
  | 
} | 
| 163 | 
  | 
#endif |