Go to the documentation of this file.
21 #ifndef __unsortedContactList_hpp__
22 #define __unsortedContactList_hpp__
28 template<
typename valueType,
typename executionSpace,
typename idType>
74 Kokkos::Schedule<Kokkos::Static>,
75 Kokkos::IndexType<int32>,
107 Kokkos::parallel_for(
125 if(
auto idx = this->
find(p); idx>=0)
142 if(
auto idx = this->
find(p); idx>=0)
175 #endif //__unsortedContactList_hpp__
kPair< idType, idType > PairType
INLINE_FUNCTION_HD int32 capacity() const
INLINE_FUNCTION_H void reallocNoInit(ViewType1D< Type, Properties... > &view, int32 len)
INLINE_FUNCTION_HD bool isValid(int32 idx) const
unorderedSet< PairType, ExecutionSpace > ContainerType
INLINE_FUNCTION_HD int32 find(const PairType &p) const
Kokkos::View< T *, properties... > ViewType1D
#define INLINE_FUNCTION_HD
executionSpace ExecutionSpace
INLINE_FUNCTION_H void swapViews(ViewType &v1, ViewType &v2)