Gromacs
2024.3
|
#include <gromacs/nbnxm/pairlistset.h>
An object that holds the local or non-local pairlists.
Public Member Functions | |
PairlistSet (const PairlistParams &listParams) | |
Constructor: initializes the pairlist set as empty. | |
void | constructPairlists (gmx::InteractionLocality locality, const Nbnxm::GridSet &gridSet, gmx::ArrayRef< PairsearchWork > searchWork, nbnxn_atomdata_t *nbat, const gmx::ListOfLists< int > &exclusions, int minimumIlistCountForGpuBalancing, t_nrnb *nrnb, SearchCycleCounting *searchCycleCounting) |
Constructs the pairlists in the set using the coordinates in nbat . | |
void | dispatchPruneKernel (const nbnxn_atomdata_t *nbat, gmx::ArrayRef< const gmx::RVec > shift_vec) |
Dispatch the kernel for dynamic pairlist pruning. | |
gmx::ArrayRef< const NbnxnPairlistCpu > | cpuLists () const |
Returns the lists of CPU pairlists. | |
const NbnxnPairlistGpu * | gpuList () const |
Returns a pointer to the GPU pairlist, nullptr when not present. | |
gmx::ArrayRef< const std::unique_ptr< t_nblist > > | fepLists () const |
Returns the lists of free-energy pairlists, empty when nonbonded interactions are not perturbed. | |
int | numPerturbedExclusionsWithinRlist () const |
Returns the number of perturbed excluded pairs that are within distance rlist. | |
Public Attributes | |
int | natpair_ljq_ |
Total number of atom pairs for LJ+Q kernel. | |
int | natpair_lj_ |
Total number of atom pairs for LJ kernel. | |
int | natpair_q_ |
Total number of atom pairs for Q kernel. | |