//! Initialize the pair list sets, TODO this should be private
void initPairlistSets(bool haveMultipleDomains);
+ //! Sets the order of the local atoms to the order grid atom ordering
+ void setLocalAtomOrder();
+
//! Constructs the pairlist for the given locality
void constructPairlist(Nbnxm::InteractionLocality iLocality,
const t_blocka *excl,
return kernelSetup_;
}
+ /*! \brief Returns the number of x and y cells in the local grid */
+ void getLocalNumCells(int *numCellsX,
+ int *numCellsY) const;
+
// TODO: Make all data members private
public:
//! All data related to the pair lists
const int *atinfo,
gmx::ArrayRef<const gmx::RVec> x);
-/*! \brief Returns the number of x and y cells in the local grid */
-void nbnxn_get_ncells(const nbnxn_search *nbs, int *ncx, int *ncy);
-
/*! \brief Returns the order indices of the atoms on the pairlist search grid */
gmx::ArrayRef<const int> nbnxn_get_atomorder(const nbnxn_search* nbs);