Gromacs  2024.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
PackedJClusterList Class Reference

#include <gromacs/nbnxm/pairlist.h>

Description

Packed j-cluster list.

Four j-cluster indices are stored per integer in an nbnxn_cj_packed_t.

Public Member Functions

 PackedJClusterList (const gmx::PinningPolicy pinningPolicy)
 
int cj (const int index) const
 Return the j-cluster index for index from the pack list.
 
unsigned int imask0 (const int index) const
 Return the i-cluster interaction mask for the first cluster in index.
 
gmx::Index size () const noexcept
 Return the size of the list (not the number of packed elements)
 
bool empty () const noexcept
 Return whether the list is empty.
 
void resize (gmx::Index count)
 Resize the packed list.
 
void push_back (const decltype(list_)::value_type &value)
 Add a new element to the packed list.
 

The documentation for this class was generated from the following file: