Cabana 0.8.0-dev
 
Loading...
Searching...
No Matches
Cabana_NeighborList.hpp File Reference

Neighbor list interface. More...

#include <Kokkos_Core.hpp>
#include <Cabana_Sort.hpp>
Include dependency graph for Cabana_NeighborList.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Cabana::FullNeighborTag
 Tag for full neighbor lists. More...
 
class  Cabana::HalfNeighborTag
 Tag for half neighbor lists. More...
 
class  Cabana::NeighborDiscriminator< FullNeighborTag >
 Full list discriminator specialization. More...
 
class  Cabana::NeighborDiscriminator< HalfNeighborTag >
 Half list discriminator specialization. More...
 
class  Cabana::NeighborList< NeighborListType >
 Neighbor list interface. Provides an interface callable at the functor level that gives access to neighbor data for particles. More...
 

Namespaces

namespace  Cabana
 Core: particle data structures and algorithms.
 

Functions

template<class ListType>
KOKKOS_INLINE_FUNCTION std::size_t Cabana::Impl::totalNeighbor (const ListType &list, const std::size_t num_particles)
 Iterate to get the total number of neighbors.
 
template<class ListType>
KOKKOS_INLINE_FUNCTION std::size_t Cabana::Impl::maxNeighbor (const ListType &list, const std::size_t num_particles)
 Iterate to find the maximum number of neighbors.
 
template<class ExecutionSpace, class ListType>
Kokkos::View< int *[2], typename ListType::memory_space > Cabana::neighborHistogram (ExecutionSpace exec_space, const std::size_t num_particles, const ListType &list, const int num_bin)
 Construct a histogram of neighbors per particle.
 

Detailed Description

Neighbor list interface.