Classes | |
class | IndexAccessor |
Public Types | |
using | DualViewType = Kokkos::DualView< IndexType * > |
using | DeviceViewType = typename DualViewType::t_dev |
using | HostViewType = typename DualViewType::t_host |
Public Member Functions | |
indexContainer () | |
indexContainer (IndexType begin, IndexType end) | |
indexContainer (IndexType *data, int32 numElems) | |
indexContainer (const indexContainer &)=default | |
indexContainer & | operator= (const indexContainer &)=default |
~indexContainer ()=default | |
INLINE_FUNCTION_HD size_t | size () const |
INLINE_FUNCTION_HD size_t | empty () const |
INLINE_FUNCTION_HD IndexType | min () const |
INLINE_FUNCTION_HD IndexType | max () const |
template<typename executionSpace > | |
INLINE_FUNCTION_HD IndexType | operator() (selectSide< executionSpace >, int32 i) const |
const HostViewType & | hostView () const |
const DeviceViewType & | deviceView () const |
auto | indicesHost () const |
auto | indicesDevice () const |
Protected Attributes | |
int32 | min_ = 0 |
int32 | max_ = 0 |
size_t | size_ = 0 |
DualViewType | views_ |
Definition at line 34 of file indexContainer.hpp.
using DualViewType = Kokkos::DualView<IndexType*> |
Definition at line 38 of file indexContainer.hpp.
using DeviceViewType = typename DualViewType::t_dev |
Definition at line 41 of file indexContainer.hpp.
using HostViewType = typename DualViewType::t_host |
Definition at line 44 of file indexContainer.hpp.
|
inline |
Definition at line 73 of file indexContainer.hpp.
|
inline |
Definition at line 76 of file indexContainer.hpp.
|
inline |
Definition at line 88 of file indexContainer.hpp.
|
default |
|
default |
|
default |
|
inline |
Definition at line 107 of file indexContainer.hpp.
Referenced by dynamicPointStructure::dynamicPointStructure(), Vector< word, vecAllocator< word > >::insertSetElement(), VectorSingle< realx3, void >::insertSetElement(), VectorDual< int8 >::insertSetElement(), sphereParticles::insertSphereParticles(), and sphereParticles::sphereParticles().
|
inline |
Definition at line 113 of file indexContainer.hpp.
Referenced by VectorSingle< realx3, void >::insertSetElement().
|
inline |
Definition at line 119 of file indexContainer.hpp.
Referenced by VectorDual< int8 >::insertSetElement().
|
inline |
Definition at line 125 of file indexContainer.hpp.
Referenced by VectorSingle< realx3, void >::insertSetElement(), and VectorDual< int8 >::insertSetElement().
|
inline |
Definition at line 132 of file indexContainer.hpp.
|
inline |
Definition at line 143 of file indexContainer.hpp.
Referenced by pointStructure::insertedPointIndexH(), Vector< word, vecAllocator< word > >::insertSetElement(), VectorSingle< realx3, void >::insertSetElement(), and VectorDual< int8 >::insertSetElement().
|
inline |
Definition at line 148 of file indexContainer.hpp.
Referenced by pointStructure::insertedPointIndexD(), VectorSingle< realx3, void >::insertSetElement(), and VectorDual< int8 >::insertSetElement().
|
inline |
Definition at line 153 of file indexContainer.hpp.
Referenced by dynamicPointStructure::dynamicPointStructure(), and sphereParticles::sphereParticles().
|
inline |
Definition at line 158 of file indexContainer.hpp.
|
protected |
Definition at line 65 of file indexContainer.hpp.
Referenced by indexContainer< int32 >::indexContainer(), and indexContainer< int32 >::min().
|
protected |
Definition at line 66 of file indexContainer.hpp.
Referenced by indexContainer< int32 >::indexContainer(), and indexContainer< int32 >::max().
|
protected |
Definition at line 67 of file indexContainer.hpp.
Referenced by indexContainer< int32 >::empty(), indexContainer< int32 >::indexContainer(), and indexContainer< int32 >::size().
|
protected |
Definition at line 69 of file indexContainer.hpp.
Referenced by indexContainer< int32 >::deviceView(), indexContainer< int32 >::hostView(), indexContainer< int32 >::indexContainer(), indexContainer< int32 >::indicesDevice(), indexContainer< int32 >::indicesHost(), and indexContainer< int32 >::operator()().