Go to the documentation of this file.
20 #ifndef __unsortedContactList_hpp__
21 #define __unsortedContactList_hpp__
29 template<
typename valueType,
typename executionSpace,
typename idType>
75 Kokkos::Schedule<Kokkos::Static>,
76 Kokkos::IndexType<uint32>,
109 Kokkos::parallel_for(
127 if(
auto idx = this->
find(p); idx!=
static_cast<uint32>(-1))
159 idx0!=
static_cast<uint32>(-1) )
177 #endif //__unsortedContactList_hpp__
INLINE_FUNCTION_HD uint32 capacity() const
Pair< idType, idType > PairType
INLINE_FUNCTION_H void reallocNoInit(ViewType1D< Type, Properties... > &view, uint32 len)
INLINE_FUNCTION_HD bool isValid(uint32 idx) const
Kokkos::View< T *, properties... > ViewType1D
1D veiw as a vector
unorderedSet< PairType, ExecutionSpace > ContainerType
INLINE_FUNCTION_HD uint32 find(const PairType &p) const
#define INLINE_FUNCTION_HD
executionSpace ExecutionSpace
INLINE_FUNCTION_H void swapViews(ViewType &v1, ViewType &v2)