Cabana 0.8.0-dev
 
Loading...
Searching...
No Matches
Cabana::VerletListData< MemorySpace, VerletLayoutCSR > Struct Template Reference

Store the VerletList compressed sparse row (CSR) neighbor data. More...

#include <Cabana_VerletList.hpp>

Public Types

using memory_space = MemorySpace
 Kokkos memory space.
 

Public Member Functions

KOKKOS_INLINE_FUNCTION void addNeighbor (const int pid, const int nid) const
 Add a neighbor to the list.
 
KOKKOS_INLINE_FUNCTION void setNeighbor (const int pid, const int nid, const int new_id) const
 Modify a neighbor in the list.
 

Public Attributes

Kokkos::View< int *, memory_spacecounts
 Number of neighbors per particle.
 
Kokkos::View< int *, memory_spaceoffsets
 Offsets into the neighbor list.
 
Kokkos::View< int *, memory_spaceneighbors
 Neighbor list.
 

Detailed Description

template<class MemorySpace>
struct Cabana::VerletListData< MemorySpace, VerletLayoutCSR >

Store the VerletList compressed sparse row (CSR) neighbor data.


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