Classes | |
class | IndexAccessor |
Public Types | |
using | DualViewType = Kokkos::DualView< IndexType * > |
using | DeviceViewType = typename DualViewType::t_dev |
using | HostViewType = typename DualViewType::t_host |
using | HostType = typename HostViewType::device_type |
using | DeviceType = typename DeviceViewType::device_type |
Public Member Functions | |
indexContainer () | |
indexContainer (IndexType begin, IndexType end) | |
indexContainer (IndexType *data, int32 numElems) | |
indexContainer (const indexContainer &)=default | |
indexContainer & | operator= (const indexContainer &)=default |
indexContainer (indexContainer &&)=default | |
indexContainer & | operator= (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 |
HostViewType & | hostView () |
DeviceViewType & | deviceView () |
auto | indicesHost () const |
auto | indicesDevice () const |
void | modifyOnHost () |
void | modifyOnDevice () |
void | syncViews () |
size_t | setSize (size_t ns) |
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.
using HostType = typename HostViewType::device_type |
Definition at line 46 of file indexContainer.hpp.
using DeviceType = typename DeviceViewType::device_type |
Definition at line 48 of file indexContainer.hpp.
|
inline |
Definition at line 77 of file indexContainer.hpp.
|
inline |
Definition at line 80 of file indexContainer.hpp.
|
inline |
Definition at line 92 of file indexContainer.hpp.
|
default |
|
default |
|
default |
|
default |
|
default |
|
inline |
Definition at line 115 of file indexContainer.hpp.
Referenced by dynamicPointStructure::dynamicPointStructure(), Vector< word, vecAllocator< word > >::insertSetElement(), VectorSingle< realx3, void >::insertSetElement(), VectorDual< int8 >::insertSetElement(), sphereParticles::insertSphereParticles(), Vector< word, vecAllocator< word > >::sortItems(), VectorDual< int8 >::sortItems(), VectorSingle< realx3, void >::sortItems(), and sphereParticles::sphereParticles().
|
inline |
Definition at line 121 of file indexContainer.hpp.
Referenced by VectorSingle< realx3, void >::insertSetElement().
|
inline |
Definition at line 127 of file indexContainer.hpp.
Referenced by VectorDual< int8 >::insertSetElement().
|
inline |
Definition at line 133 of file indexContainer.hpp.
Referenced by VectorSingle< realx3, void >::insertSetElement(), and VectorDual< int8 >::insertSetElement().
|
inline |
Definition at line 140 of file indexContainer.hpp.
|
inline |
Definition at line 151 of file indexContainer.hpp.
Referenced by pointStructure::insertedPointIndexH(), Vector< word, vecAllocator< word > >::insertSetElement(), VectorSingle< realx3, void >::insertSetElement(), VectorDual< int8 >::insertSetElement(), and Vector< word, vecAllocator< word > >::sortItems().
|
inline |
Definition at line 156 of file indexContainer.hpp.
Referenced by pFlow::getSortedIndex(), pointStructure::insertedPointIndexD(), VectorSingle< realx3, void >::insertSetElement(), VectorDual< int8 >::insertSetElement(), VectorDual< int8 >::sortItems(), and VectorSingle< realx3, void >::sortItems().
|
inline |
Definition at line 161 of file indexContainer.hpp.
|
inline |
Definition at line 166 of file indexContainer.hpp.
|
inline |
Definition at line 171 of file indexContainer.hpp.
Referenced by dynamicPointStructure::dynamicPointStructure(), and sphereParticles::sphereParticles().
|
inline |
Definition at line 176 of file indexContainer.hpp.
|
inline |
Definition at line 181 of file indexContainer.hpp.
|
inline |
Definition at line 186 of file indexContainer.hpp.
Referenced by pFlow::getSortedIndex().
|
inline |
Definition at line 191 of file indexContainer.hpp.
Referenced by pFlow::getSortedIndex().
|
inline |
Definition at line 212 of file indexContainer.hpp.
Referenced by pFlow::getSortedIndex().
|
protected |
Definition at line 69 of file indexContainer.hpp.
Referenced by indexContainer< int32 >::indexContainer(), indexContainer< int32 >::min(), and indexContainer< int32 >::syncViews().
|
protected |
Definition at line 70 of file indexContainer.hpp.
Referenced by indexContainer< int32 >::indexContainer(), indexContainer< int32 >::max(), and indexContainer< int32 >::syncViews().
|
protected |
Definition at line 71 of file indexContainer.hpp.
Referenced by indexContainer< int32 >::empty(), indexContainer< int32 >::indexContainer(), indexContainer< int32 >::setSize(), indexContainer< int32 >::size(), and indexContainer< int32 >::syncViews().
|
protected |
Definition at line 73 of file indexContainer.hpp.
Referenced by indexContainer< int32 >::deviceView(), indexContainer< int32 >::hostView(), indexContainer< int32 >::indexContainer(), indexContainer< int32 >::indicesDevice(), indexContainer< int32 >::indicesHost(), indexContainer< int32 >::modifyOnDevice(), indexContainer< int32 >::modifyOnHost(), indexContainer< int32 >::operator()(), and indexContainer< int32 >::syncViews().