Go to the documentation of this file.
21 #ifndef __sortedContactList_hpp__
22 #define __sortedContactList_hpp__
29 template<
typename valueType,
typename executionSpace,
typename idType>
75 Kokkos::Schedule<Kokkos::Static>,
76 Kokkos::IndexType<int32>,
96 size0_ = this->
size();
106 Kokkos::parallel_for(
107 "sortedContactList::reFillPairs",
133 auto start =
max(0,idx-searchLen);
171 #endif //__sortedContactList_hpp__
typename UnsortedPairs::IdType IdType
ViewType1D< PairType, ExecutionSpace > sortedPairs_
INLINE_FUNCTION_HD int32 capacity() const
typename UnsortedPairs::PairType PairType
INLINE_FUNCTION_H void reallocNoInit(ViewType1D< Type, Properties... > &view, int32 len)
typename ExecutionSpace::memory_space memory_space
INLINE_FUNCTION_HD int32 binarySearch(const ViewType1D< Type, properties... > &view, int32 start, int32 end, const Type &val)
INLINE_FUNCTION_H int32 size() const
T max(const Vector< T, Allocator > &v)
typename UnsortedPairs::ContainerType ContainerType
Kokkos::View< T *, properties... > ViewType1D
#define INLINE_FUNCTION_HD
INLINE_FUNCTION_H void swapViews(ViewType &v1, ViewType &v2)
T min(const Vector< T, Allocator > &v)
typename UnsortedPairs::ExecutionSpace ExecutionSpace