Gromacs  2025.0-dev-20241009-5c23d5f
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::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 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.
 
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 (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: