ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
CustomVerletList< MemorySpace, AlgorithmTag, LayoutTag, BuildTag > Class Template Reference

#include <custom_verlet_list.hpp>

+ Inheritance diagram for CustomVerletList< MemorySpace, AlgorithmTag, LayoutTag, BuildTag >:
+ Collaboration diagram for CustomVerletList< MemorySpace, AlgorithmTag, LayoutTag, BuildTag >:

Public Member Functions

 CustomVerletList ()=default
 
 CustomVerletList (std::size_t const begin, std::size_t const end, std::size_t const max_neigh)
 
KOKKOS_INLINE_FUNCTION void initializeData (std::size_t const num_particles, std::size_t const max_neigh)
 
KOKKOS_INLINE_FUNCTION void reallocData (std::size_t const num_particles, std::size_t const max_neigh)
 
KOKKOS_INLINE_FUNCTION void addNeighborAtomicLB (int pid, int nid)
 
KOKKOS_INLINE_FUNCTION void addNeighbor (int pid, int nid)
 
KOKKOS_INLINE_FUNCTION void addNeighborLB (int pid, int nid)
 
KOKKOS_INLINE_FUNCTION void sortNeighbors ()
 
KOKKOS_INLINE_FUNCTION auto get_variance_max_counts (auto &ostream)
 
KOKKOS_INLINE_FUNCTION auto get_max_counts ()
 
KOKKOS_INLINE_FUNCTION bool hasOverflow () const
 

Public Attributes

Kokkos::View< int *, MemorySpacecounts
 
Kokkos::View< int **, Kokkos::LayoutRight, MemorySpaceneighbors
 
bool overflow = false
 

Detailed Description

template<class MemorySpace, class AlgorithmTag, class LayoutTag, class BuildTag = Cabana::TeamVectorOpTag>
class CustomVerletList< MemorySpace, AlgorithmTag, LayoutTag, BuildTag >

Definition at line 36 of file custom_verlet_list.hpp.

Constructor & Destructor Documentation

◆ CustomVerletList() [1/2]

◆ CustomVerletList() [2/2]

template<class MemorySpace , class AlgorithmTag , class LayoutTag , class BuildTag = Cabana::TeamVectorOpTag>
CustomVerletList< MemorySpace, AlgorithmTag, LayoutTag, BuildTag >::CustomVerletList ( std::size_t const  begin,
std::size_t const  end,
std::size_t const  max_neigh 
)
inline

Member Function Documentation

◆ addNeighbor()

◆ addNeighborAtomicLB()

◆ addNeighborLB()

◆ get_max_counts()

◆ get_variance_max_counts()

◆ hasOverflow()

◆ initializeData()

◆ reallocData()

◆ sortNeighbors()

Member Data Documentation

◆ counts

◆ neighbors

◆ overflow


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