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<uint32>,
96 size0_ = this->
size();
106 Kokkos::parallel_for(
107 "sortedContactList::reFillPairs",
141 idx0!=
static_cast<uint32>(-1))
150 idx0!=
static_cast<uint32>(-1) )
171 #endif //__sortedContactList_hpp__
typename UnsortedPairs::IdType IdType
ViewType1D< PairType, ExecutionSpace > sortedPairs_
INLINE_FUNCTION_HD uint32 capacity() const
INLINE_FUNCTION_H void reallocNoInit(ViewType1D< Type, Properties... > &view, uint32 len)
T max(const internalField< T, MemorySpace > &iField)
typename UnsortedPairs::PairType PairType
INLINE_FUNCTION_HD uint32 binarySearch(const ViewType1D< Type, properties... > &view, uint32 start, uint32 end, const Type &val)
On DEVICE and HOST calls.
typename ExecutionSpace::memory_space memory_space
T min(const internalField< T, MemorySpace > &iField)
Kokkos::View< T *, properties... > ViewType1D
1D veiw as a vector
typename UnsortedPairs::ContainerType ContainerType
INLINE_FUNCTION_H uint32 size() const
#define INLINE_FUNCTION_HD
INLINE_FUNCTION_H void swapViews(ViewType &v1, ViewType &v2)
typename UnsortedPairs::ExecutionSpace ExecutionSpace